Blog Link: http://www.seo-service-provider.org/blog/yoast/exclude-some-posts-yoast-sitemap/ \n\nYou should check our blog post as we have written everything step by step with nice and clean images. \n\nIf you have installed Yoast SEO plugin and enabled XML Sitemaps, then it’s time for you to learn how to exclude some posts from Yoast Sitemap. \n\nIn this presentation, we are going to share how to exclude some posts from Yoast Sitemap. \n\nIf you like this presentation please subscribe to our newsletter. We will add more important and uncovered tutorials in forthcoming days!
In this tutorial we are going to share how to exclude some posts from YoastSitemapby using Yoast -a great SEO plugin. If you have installed YoastSEO plugin and enabled XML Sitemaps, then this presentation is only for you. Follow the next slides…
Youmight need to hide some pages from Sitemap. You don’t want to index your login, logout, unsubscribe, success or thank you pages in Google or any other search engines, right?
When you set up sitemap.xml for your website, these pages are automatically visible. To hide these pages, you need to exclude these pages from sitemap.xml
Another scenario could be, you have just imported demo data from a premium WordPress template. You have already modified and published all your required pages. Moreover, you have unpublished all those demo posts. But they can be visible in Sitemap.xml.
Now lets move to the next topic…
Follow these steps…
Login to WordPress Admin Panel.
Mouse over to SEO (Yoast Plugin)
Click on “XML Sitemaps”
Click on “Excluded Posts”. Here you will include all those posts/pages IDs what you want to hide from Sitemap.xml
Mouse over to Pages. Click on “All Pages”
Use “Search Box” to find your desired page (if you have 100s to 1000s of pages)
Click on “Edit”
Check the URL now. You need to take the ID just beside the “post=”
Now you need to include these IDs in “Excluded Posts” field of Yoast XML Sitemaps. This is how you can exclude some posts from YoastSitemap!
You can watch this video tutorial for better understanding.
To see more articles and tutorials on SEO, SMM, SMO, WordPress