Which pages should be in your XML sitemap? How do you decide which pages to include in your XML sitemap? Always start by thinking of the relevance of a URL: when a visitor lands on a particular URL, is it a good result? Do you want visitors to land on that URL? If not, it probably shouldn’t be in your XML sitemap. However, if you really don’t want that URL to show up in the search results you’ll need to add a ‘noindex, follow’ tag. Leaving it out of your XML sitemap doesn’t mean Google won’t index the URL. If Google can find it by following links, Google can index the URL. … [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?
Organize your sitemap into sub-sitemaps. This has the additional advantages of making sitemaps smaller and faster to process.Submit a separate sitemap for your videos (if applicable).Add your sitemap in robots.txt. I have explained before how to SEO your robots.txt and in addition to that, you can also add the location of your sitemap to help search engines find your sitemap file easier.Include only URLS that Google can access. If you have pages that are blocked by robots or are behind a password-protected area, do not include those pages in the sitemap.Make sure that your XML Sitemap includes the ‘last modification time’ field, a value that gives information to Google as to when a page was last modified. This is useful in cases where you want Google to re-index some pages of your website.Creating an XML Sitemap with Yoast SEO PluginOne of the nice features of Yoast SEO is the Sitemap functionality. … [Read more...] about How to Optimize your XML Sitemap for Maximum SEO
Google's John Mueller confirmed on Twitter that Google may stop fetching your XML Sitemap files if the URLs within them are invalid. He said it is fine to have URLs that redirect but they should load content. If not, Google may simply start ignoring your Sitemaps. … [Read more...] about Google May Ignore Your XML Sitemap If The URLs Are Invalid