How To Edit Yoast Sitemap

Unable to process the request due to encountered difficulties.

Yoast SEO is a valuable resource for improving your website’s search engine optimization. Among its various functionalities, it offers the ability to create a sitemap for your site. This sitemap aids search engines in comprehending your site’s layout, simplifying the crawling and indexing of your pages. However, there may be instances when you wish to modify this sitemap. This tutorial will guide you through the steps of editing your Yoast sitemap.

Step 1: Access Your Yoast SEO Plugin

First, you need to login to your WordPress dashboard. Go to the Plugins section and find the Yoast SEO plugin. If you haven’t installed it yet, you can do so by clicking on Add New and search for “Yoast SEO”. Install and activate the plugin.

Step 2: Navigate to XML Sitemaps

Once you have the Yoast SEO plugin activated, navigate to the SEO tab on the left side of your dashboard. Click on General, then find the Features tab. Scroll down until you see the XML sitemaps option and click on the question mark icon next to it.

You should then see a link that says See the XML sitemap. Click on it. This will open a new tab displaying your current sitemap.

Step 3: Edit Your Sitemap

Now, in order to edit your sitemap, you will need to use the Include settings in the Yoast SEO plugin. These settings allow you to decide which types of content you want to include in your sitemap. You can choose to include or exclude posts, pages, categories, tags, and other types of content.

For instance, if you want to exclude a specific post from your sitemap, you would navigate to the post editor for that post. Scroll down to the Yoast SEO section and click on the Advanced tab. Under Allow search engines to show this Post in search results?, select No.

Step 4: Save Changes

After making all the necessary changes, remember to Save your settings. The plugin will automatically update your sitemap based on your new settings.

That’s all there is to it! Editing your Yoast sitemap allows you to have more control over what content search engines are able to crawl and index. This can be beneficial for SEO and overall site performance.


Knowing how to edit your Yoast sitemap can be a valuable skill for managing your website’s SEO. Remember, a well-structured and accurate sitemap can help search engines understand your website better, leading to improved visibility and rankings. So take the time to configure your sitemap settings to best suit your website’s needs.