Example 1: A new blog Say, for example, you are starting a new blog. You will want Google to find new posts quickly to make sure your target audience can find your blog on Google, so it’s a good idea to create an XML sitemap right from the start. You might create a handful of first posts and categories for them as well as some tags to start with. But there won’t be enough content yet to fill the tag overview pages, making them “thin content” that’s not valuable to visitors – yet. In this case, you should leave the tag’s URLs out of the XML sitemap for now. Set the tag pages to ‘noindex, follow’ because you don’t want people to find them in search results. … [Read more...] about What is an XML sitemap and why should you have one? • Yoast
This will make it so WordPress has XML Sitemaps out of the box. Will this replace Yoast? No, in fact, it says "This post proposes integration of XML Sitemaps to WordPress Core as a feature project. The proposal was created as a collaboration between Yoast, Google and various contributors." … [Read more...] about Google Proposes Building XML Sitemaps Into WordPress Core
I have a new site map for a subdirectory. Does it matter if I tell Search Console the file is in the root of the subdirectory or in the root of the entire domain? Also, how long does it usually take for Google to crawl it? It's been a few days now, and I thought Google was faster.If you have a site map file and it's in a subdirectory, then, by default, that site map file would only be valid for URLs that are in that subdirectory as well. … [Read more...] about Google: Does It Matter Where Your XML Sitemap File Is Located?
Include in your sitemap the pages (and that includes posts as well), that are important for your website. These are the pages that have high quality content and are more likely to bring organic traffic to your website.Exclude pages that have duplicate content. For WordPress websites good candidates are archive pages, tag pages and author pages.Exclude pages with ‘thin content’. When it comes to optimizing a website for search engines, you don’t want to submit in their index pages that are of low quality. It’s not a numbers game, meaning that it’s not a matter of how many pages you have in the index but how many ‘good’ pages are in the index.A good way to separate your ‘good pages’ from the ones that you don’t want to include in your sitemap is to either ‘no-index’ the pages or add them to a category and exclude the particular category (and pages) from the sitemap file. … [Read more...] about How to Optimize your XML Sitemap for Maximum SEO
John said "We'd stop fetching sitemap files if the URLs are invalid, but if you're returning content or redirecting (which is kinda recommended), we'll keep trying them. It shouldn't cause problems, since overall sitemap files are only a tiny-tiny part of all URLs fetched from a site." … [Read more...] about Google May Ignore Your XML Sitemap If The URLs Are Invalid