Create an XML Sitemap with WordPress / Yoast & Add it to Google Search Console (GSC)

by | Sep 17, 2022

🎯 What’s the goal?
To set up your website Sitemap and add it to Google Search Console.
⚠️ Why does it matter?
Having a sitemap added to Google Search Console helps search engine crawlers to find more easily the content you want them to index, and to understand better how important each page of your website is.
🏁 What’s the result?
Sitemap created and fetched by Google Search Console.
⌚ When do you do this?
After enabling Google Search Console for your website, ideally, your sitemap should be automatically updated by your SEO Plugin so you no longer have to worry about it.
βœ… Any special requirements?
You need to have Google Search Console enabled for your website (SOP008) You need to have Yoast SEO Plugin installed on your WordPress site (SOP006).
πŸ™‹β€β™‚οΈWho should do it?
Owner of the website or the person in charge of analytics.

πŸ‘‰ Where this is done: In your WordPress Admin Panel and Google Search Console tool.

⏳ How long will this take? about 10 minutes

 Let’s get started, in 10-min your website maze will no longer have secrets for search engine crawlers.

Environment setup:

  • We recommend that you use Google Chrome browser to navigate the web.
  • Administrator access to your WordPress website,
  • Access to Google Search Console tool.

Checking your sitemap using Yoast SEO Plugin

  • β€œLog In” to your WordPress Admin Panel.
  • Choose β€œSEO” on the left side menu.
  • Then choose β€œGeneral”.
  • Choose the β€œFeatures” tab in Yoast Settings.
  • Make sure that β€œXML sitemaps” feature is enabled (if it’s not, turn it on).
  • Click on β€œQuestion mark”.
  • Then click on β€œSee the XML Sitemap”.
  • You should be redirected to your sitemap URL.
  • There you can see your β€œsitemap_index.xml” file that is automatically created by Yoast 

Adding a sitemap to Google Search Console

  • Go to β€œyourdomainname.com/sitemap_index.xml.
  • Copy part of a web address after β€œyourdomainname.com/”. This is your sitemap URL.
  • Sign in with the Google Account you used to enable GSC for your website.
  • In the Google Search Console tool click on β€œSitemaps”.
  • Paste your sitemap URL.
  • Then click on β€œSUBMIT”.
  • Wait a moment for the process to finish.
  • Now you should be able to see a confirmation message. Click on β€œGOT IT”.
  • In most cases, after submitting a sitemap you will see Status: β€œCouldn’t fetch”.
  • You just need to refresh the page. Simply press β€œF5” on your keyboard.



To learn more about XML Sitemap with Yoast, and configure in-depth what will appear in your SiteMap, please visit: https://yoast.com/what-is-an-xml-sitemap-and-why-should-you-have-one/

This is it. You successfully created a sitemap and you added it to Google Search Console, making it easier for Google crawler to monitor the changes on your website.

Create an XML Sitemap with WordPress / Yoast & Add it to Google Search Console (GSC)

🎯 What’s the goal?To set up your website Sitemap and add it to Google Search Console. ⚠️ Why does it matter?Having a sitemap added to Google Search Console helps search engine crawlers to find more easily the content you want them to index, and to understand better how important each page of your website is. […]
You May also Like: