yoast sitemaps

Yoast Sitemap | How to Create, Edit, and Submit to Google

If you have a WordPress site and use the Yoast SEO plugin, you need to know how to manage your Yoast sitemap. Fortunately, it’s not too difficult. In this blog we’ll learn a bit more about XML sitemaps. We’ll also explain how to use Yoast to view, manage, and customize your sitemap, and how to submit it to Google.

What is an XML Sitemap?

XML is a markup language (in the same way that HTML is a markup language) designed to store and transport data. It stands for eXtensible Markup Language. XML is the language that stores data about the pages that you want search engines to index on your site. Here are 3 key things to know about the relationship between XML, sitemaps, and Yoast.

  1. XML is a language used to store and transport sitemap data.
  2. A sitemap is a guide to search engines regarding what pages should be indexed and eligible to show in search results.
  3. Yoast is a popular plugin used to manage SEO on WordPress sites. Yoast is the tool that we use to manage sitemaps on WordPress sites.

How to Find Your Yoast Sitemap URL?

One of the great things about Yoast is that it automatically creates a sitemap for your WordPress site based on the specific types of pages that are indexed. But it’s not instantly obvious where you’ll find your Yoast sitemap URL. To view your Yoast sitemap take the following 6 steps:

  1. Log in to your WordPress site
  2. Look for the “Y” Yoast icon in the left-hand dashboard menu and click it.
  3. The menu will expand. Now click on “General”.
  4. Access the “Features” tab as shown below.
  5. Click on the question mark to the right of “XML sitemaps” as shown below.
  6. Click on the blue link to “See the XML sitemap”

how to access yoast sitemaps

You’ll be directed to a URL that is yourdomainname.com/sitemap_index.xml. This is the sitemap URL that you’ll ultimately submit to Google. Before we make any changes, here is what the sitemap looks like for rootandbranchgroup.com.

default yoast sitemap

If you’d like a video walkthrough, you can see the step by step clicks for viewing, editing, and submitting the sitemap in the 3 minute video linked below:

How to Customize Your Yoast Sitemap

To customize a Yoast sitemap, we turn search engine indexing on or off for different types of content. You do that through the “Search Appearance” menu within Yoast by changing settings for Content Types and Taxonomies. Here’s how we do that.

  1. Look for the “Y” Yoast icon in the left-hand dashboard menu and click it.
  2. The menu will expand. Now click on “Search Appearance”.
  3. Access the “Content Types” tab as shown below.
  4. Expand into each of the different Content Types (Posts shown below) and enable or disable indexing by toggling “Yes” or “No” under “Show Posts in search results?”. Toggle this to “no” to apply noindex tags to all pieces of content within that Content Type and remove them from the XML sitemap. In this case, we want our Posts to be indexed so we’re going to keep this on “Yes”. For anything that should not be in the sitemap, change this to “No.”
  5. Now click on the “Taxonomies” tab (two to the right of the “Content Types” tab shown below). This is where you can remove Categories and Tags from your sitemap. Note: if you have a strategy for using categories and tags, you should keep them turned on.

yoast search appearance

After making all of your changes, you can once again view your sitemap at yourdomainname.com/sitemap_index.xml. Here is what ours looks like now.

customized sitemap with yoast

How to Submit Your Yoast Sitemap to Google

To submit our Yoast sitemap to Google we need to have the URL of our newly customized sitemap and we need to have our site verified with Google Search Console. Then, we simply click on the “Sitemaps” section within Search Console, enter the URL for our XML sitemap, and hit the Submit button. Here are those individual steps.

  1. Log in to your Search Console property at search.google.com. Note, if you haven’t verified your site with Search Console, you will need to do this first.
  2. Click on the “Sitemaps” menu item on the left-hand side of the Search Console navigation.
  3. Copy your sitemap URL (yourdomainname.com/sitemap_index.xml) and paste it into the field below “Add a new sitemap” as shown in the first image below.
  4. Hit submit. You will see a message from Search Console that says “Sitemap submitted successfully.”
  5. You will now see your sitemap in the submitted sitemaps as shown in the second image below.
submit sitemap to google

Image 1 of 2: submit sitemap to google

sitemap submitted succesfully

Image 2 of 2: sitemap submitted successfully

 

Your Yoast Sitemap is Done! Now Continue with Other SEO Efforts

Your sitemap is now customized and submitted. Congratulations! Now continue with some other SEO efforts, like learning about 8 trends shaping SEO in 2022.

For more work in Search Console, learn how to disavow any toxic backlinks that might be harming your SEO presence.

If you want to level up your digital analytics measurement game, you can review 7 things you should be doing with Google Analytics in 2022 or learn about GA4 vs. Universal Analytics. And if we can help with any hands on training or support, feel free to get in touch.

16 replies
    • Zack Duncan
      Zack Duncan says:

      Hmmm…I just checked your sitemap (append /sitemap_index.xml to the end of your URL) and see a post.sitemap, a page.sitemap, and a category.sitemap there. If you’re only seeing one blog post that is indexed, I’d check out Google Search Console (URL inspection) and see what Google says when you check out some of the blog posts that are not showing up.

      Reply
      • Ibrahim
        Ibrahim says:

        Thanks Zack. If you take a look at the post sitemap, you’ll see just one post URL although I have more posts live in the blog.
        I used the URL inspection tool in Google Search Console, and I found the URLs “crawled, but not indexed” and “available to Google”.

        Reply
    • Zack_Duncan
      Zack_Duncan says:

      Hello Rien. If those pages are set to be indexed, Yoast would put them in the sitemap. I’d recommend confirming that they aren’t accidentally set to index.

      Also, you can update your robots.txt file (using Yoast) to tell search engine crawlers they shouldn’t be on those pages on your site. Here’s a blog with more info on that if you’re interested: https://www.rootandbranchgroup.com/edit-robots-txt-wordpress/

      Best of luck to you!

      Reply
    • Zack_Duncan
      Zack_Duncan says:

      I would suspect this is unrelated to Yoast. When you say it appears white in Google, are you talking about Google Search Console or the Google search engine results page?

      I’d recommend you check out the Coverage report within Google Search Console (Index -> Coverage) and toggle to see your “Valid” pages. Look to see how many are “submitted and indexed” and how many are “Indexed, not submitted in sitemap”. I had an issue where all of my indexed pages were showing as “Indexed, not submitted in sitemap” despite the fact that they were submitted in the sitemap! Very frustrating. If that sounds like it could be similar to you, I’m actually making a YouTube video to document the process I went through to fix it. It should publish next Wednesday. If you’re interested, just search for root and branch digital marketing on YouTube and you’ll find it.

      I wish you all the best.

      Reply
  1. Andy Globe
    Andy Globe says:

    Thanks for this content.

    One question: Where should I put the filter? Everyone on the internet gives the filter, but not where it should be added. Or perhaps I’m simply stupid and missing something.

    Thank you.

    Reply
    • Zack_Duncan
      Zack_Duncan says:

      Hey there, Andy. Can you clarify what you mean by “filter”? I re-read the article and I don’t think I had used that word so I can’t quite place what specific element you’re referring to. If you can do that, I’d be happy to try and help a bit more.

      Thanks,
      Zack

      Reply

Trackbacks & Pingbacks

  1. […] great place to start is the Yoast SEO plugin, which will allow you to edit your sitemap, submit it to Google, and measure your SEO writing effectiveness. However, there are several other […]

  2. […] This can make the indexing process easier for Google. It’s a great idea to create, edit, and submit your sitemap via Google Search […]

  3. […] new pages. If you have a WordPress site, you can use Yoast to help manage your SEO settings. This Yoast sitemap guide shows how to access and edit your sitemap in WordPress and then submit your sitemap to Google using […]

  4. […] plugin. Yoast is a Swiss Army knife of SEO for WordPress sites. You can use it for everything from editing your sitemap to blocking pages from being indexed to changing how your pages appear on the Google SERP (Search […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *