{"id":2614,"date":"2021-12-29T12:24:47","date_gmt":"2021-12-29T10:24:47","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=2614"},"modified":"2025-11-27T13:41:14","modified_gmt":"2025-11-27T11:41:14","slug":"how-to-submit-wordpress-xml-sitemaps-to-search-engines","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-submit-wordpress-xml-sitemaps-to-search-engines\/","title":{"rendered":"Submit WordPress Sitemap to Google"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">We all know that the future of your entire project could depend on search engine optimization. We also know that <\/span><b>an XML sitemap<\/b><span style=\"font-weight: 400;\"> is instrumental in ensuring search engine bots crawl and index your content.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">WordPress users have access to plugins, so for them, creating an <\/span><b>XML sitemap<\/b><span style=\"font-weight: 400;\"> requires <\/span><b>no advanced technical skills whatsoever<\/b><span style=\"font-weight: 400;\">. The same goes for submitting the sitemap to Google.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The process is straightforward, but there are a few things you need to bear in mind. We&#8217;ll now go through them.<\/span><b><\/b><\/p>\n<h2><b>Creating an XML Sitemap<\/b><b><\/b><\/h2>\n<p><span style=\"font-weight: 400;\">It&#8217;s possible to create an XML sitemap manually. There are online tutorials showing you what you need to edit, and you can even find ready-made code that you can use.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, this involves <\/span><b>modifying your WP theme&#8217;s files<\/b><span style=\"font-weight: 400;\">. You need to be confident working with the theme editor in the <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/navigating-your-wordpress-dashboard\/\"><b>WordPress dashboard<\/b><\/a><span style=\"font-weight: 400;\">, and understanding a bit of PHP syntax won&#8217;t go amiss. Even if you have the knowledge and skills, the chances of something going wrong are much more significant than they are if you leave the hard work to a plugin.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is what most people do, and a large portion of them pick <\/span><a href=\"https:\/\/wordpress.org\/plugins\/wordpress-seo\/\"><span style=\"font-weight: 400;\">Yoast SEO<\/span><\/a><span style=\"font-weight: 400;\"> as their add-on of choice. Hailed as the #1 <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/top-wordpress-plugins-for-seo\/\"><b>WordPress SEO plugin<\/b><\/a><span style=\"font-weight: 400;\">, Yoast has <\/span><b>over 5 million active installations<\/b><span style=\"font-weight: 400;\"> and quite a few features, even in the free edition.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Yoast will create an XML sitemap upon installation. It&#8217;s among its core features, and it&#8217;s enabled by default. You can confirm that it&#8217;s on through the <\/span><b>Features<\/b><span style=\"font-weight: 400;\"> tab in Yoast&#8217;s menu inside your WordPress dashboard.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-2620\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1024x504.png\" alt=\"Submit WordPress Sitemap to Google, Creating an XML Sitemap\" width=\"1024\" height=\"504\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1024x504.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-300x148.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-768x378.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1536x756.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap.png 1903w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">If you click the <\/span><b>question mark tooltip<\/b><span style=\"font-weight: 400;\"> above the toggle switch, you&#8217;ll also find a link leading you to the actual sitemap.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-2615\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1.png\" alt=\"Submit WordPress Sitemap to Google, Creating an XML Sitemap 2\" width=\"636\" height=\"156\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1.png 636w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-1-300x74.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">By default, the URL of your XML sitemap generated by Yoast SEO is <\/span><i><span style=\"font-weight: 400;\">https:\/\/[your domain name]\/sitemap_index.xml<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It should look something like this.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-2616\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-2.png\" alt=\"Submit WordPress Sitemap to Google, Creating an XML Sitemap 3\" width=\"655\" height=\"317\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-2.png 655w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-2-300x145.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">Make sure you know the sitemap&#8217;s URL, as you&#8217;ll need to give it to Google in a minute. First, however, you need to verify that you own the website.<\/span><b><\/b><\/p>\n<h2><b>Verifying Ownership of Your WordPress Site With Google Search Console<\/b><b><\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Google lets you monitor your website&#8217;s indexing and visibility through the <\/span><b>Google Search Console<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It&#8217;s <\/span><b>a completely free service<\/b><span style=\"font-weight: 400;\">, and the only requirement for using it is an active Google account. Before you can add your website to the Google Search Console, you need to verify that you own it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Yoast SEO can help you with that as well.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you go to the <\/span><b>Webmaster Tools<\/b><span style=\"font-weight: 400;\"> tab in Yoast&#8217;s menu, you&#8217;ll find several options for integrating your site into the monitoring solutions offered by some of the world&#8217;s most popular search engines.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-2617\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3-1024x504.png\" alt=\"Submit WordPress Sitemap to Google, Verifying Ownership of Your WordPress Site With Google Search Console\" width=\"1024\" height=\"504\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3-1024x504.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3-300x148.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3-768x378.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3-1536x756.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-3.png 1903w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">The <\/span><b>Google Search Console<\/b><span style=\"font-weight: 400;\"> will redirect you to a page showing you several different options for verifying the ownership of the domain. Select the <\/span><b>HTML tag <\/b><span style=\"font-weight: 400;\">radio button.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-2618\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4-1024x500.png\" alt=\"Submit WordPress Sitemap to Google, Verifying Ownership of Your WordPress Site With Google Search Console 2\" width=\"1024\" height=\"500\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4-1024x500.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4-300x146.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4-768x375.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4-1536x750.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-4.png 1920w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">Google will give you a meta tag that must be pasted between the <\/span><b>&lt;head&gt; <\/b><span style=\"font-weight: 400;\">and <\/span><b>&lt;body&gt;<\/b><span style=\"font-weight: 400;\"> tags on your site&#8217;s homepage. You can do it on your own, but an easier option would be to let Yoast take care of it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Copy Google&#8217;s code, go back to Yoast SEO&#8217;s menu, paste it in the <\/span><b>Google Verification Code<\/b><span style=\"font-weight: 400;\"> field, and click <\/span><b>Save Changes<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-2619\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-5.png\" alt=\"Submit WordPress Sitemap to Google, Verifying Ownership of Your WordPress Site With Google Search Console 3\" width=\"632\" height=\"97\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-5.png 632w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/12\/xml-sitemap-5-300x46.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<p><span style=\"font-weight: 400;\">Finally, go back to the Google Search Console and click <\/span><b>Verify<\/b><span style=\"font-weight: 400;\"> to complete the process.<\/span><b><\/b><\/p>\n<h2><b>Submitting Your WordPress XML Sitemap to Google Search Console<\/b><b><\/b><\/h2>\n<p><span style=\"font-weight: 400;\">With the domain verified and added to your Google Search Console, it&#8217;s time to add the XML sitemap.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Log into your account and make sure you&#8217;ve selected the correct domain. Select the <\/span><b>Sitemaps <\/b><span style=\"font-weight: 400;\">menu and make sure there are no invalid and outdated entries.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the sitemap&#8217;s URL into the <\/span><b>Add a new sitemap<\/b><span style=\"font-weight: 400;\"> field and click <\/span><b>Submit<\/b><span style=\"font-weight: 400;\">.<\/span><b><\/b><\/p>\n<h2><b>Why Do I Receive Email Alerts from Google Search Console?<\/b><b><\/b><\/h2>\n<p><span style=\"font-weight: 400;\">By default, Google Search Console is configured to send you <\/span><b>email notifications<\/b><span style=\"font-weight: 400;\"> regarding important events surrounding your website. These events include:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Signing up for the service as a site owner.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Another user signing you up as a site owner.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A provider automatically assigning you as a site owner.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Because users often don&#8217;t pay enough attention to their Search Console and Analytics reports, Google also sends notifications regarding things like <\/span><b>dramatic drops in clicks and traffic<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Google also gives you <\/span><b>an email preference page<\/b><span style=\"font-weight: 400;\"> to control what sort of messages and notifications you receive.<\/span><b><\/b><\/p>\n<h2><b>Using Google Search Console to Detect Sitemap Problems With Your WordPress Site<\/b><b><\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Thanks to your XML sitemap, the search engines know the exact structure of your content, and they can crawl it more easily as a result. It&#8217;s essential to make sure they have constant access to it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>Status <\/b><span style=\"font-weight: 400;\">column in the <\/span><b>Sitemaps<\/b><span style=\"font-weight: 400;\"> section of the Google Search Console tells you if the sitemap is reachable at the moment. If you see anything other than <\/span><b>Success<\/b><span style=\"font-weight: 400;\"> in this section, you need to start troubleshooting the problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If Google can&#8217;t reach your sitemap, the first thing you need to check is whether your site is up. If it is, you may need to verify that you&#8217;ve submitted <\/span><b>the correct URL<\/b><span style=\"font-weight: 400;\">. Try loading the sitemap in your browser to make sure it&#8217;s accessible.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sometimes, deleting the sitemap from the Google Search Console and resubmitting it solves the problem, and if it doesn&#8217;t, you need to check <\/span><b>the XML file&#8217;s permissions<\/b><span style=\"font-weight: 400;\"> and make sure search engine bots can read it.<\/span><\/p>\n<p><b>Flushing the site&#8217;s cache<\/b><span style=\"font-weight: 400;\"> and configuring your <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/wordpress-site-caching-tips-and-tricks\/\"><b>caching plugin<\/b><\/a><span style=\"font-weight: 400;\"> not to cache the sitemap may work, as well.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Last but not least, you might want to check your <\/span><b>hardware resources usage<\/b><span style=\"font-weight: 400;\">. If you have a large sitemap with lots of links, the crawlers could overload the server to the point where it will block them to prevent outages. If this happens, you will either need to exclude some posts and pages from your sitemap or look for a more <\/span><a href=\"https:\/\/www.scalahosting.com\/fastest-wordpress-hosting.html\"><b>powerful hosting solution<\/b><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We all know that the future of your entire project could depend on search engine optimization. We also know that an XML sitemap is instrumental in ensuring search engine bots crawl and index your content. WordPress users have access to plugins, so for them, creating an XML sitemap requires no advanced technical skills whatsoever. The [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"Submit WordPress Sitemap to Google | ScalaHosting KB","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-2614","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=2614"}],"version-history":[{"count":7,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2614\/revisions"}],"predecessor-version":[{"id":5861,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2614\/revisions\/5861"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=2614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=2614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=2614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}