|
If you have multiple XML sitemaps, remember to use a sitemap index file for a large site, you’ll want to submit a sitemap index file to submit many sitemaps at once. 9. The lastmod tag should be flawless The <lastmod> tag is one of the most essential parts of your XML sitemap. For instance, my structured data leverages the <lastmod> date of my XML sitemap. The <lastmod> tag also signals to search engines whether you’ve refreshed old content or launched new content. Mueller confirmed this by stating: “…If you’re just changing the timestamp footer, sure, the page has technically changed too, but should that be prioritized – probably not.
Are you providing something new for DB to Data engines that you'd like reflected in search? If so, flag it. If you're just changing the timestamp in the footer, sure the page has technically changed too, but should that be prioritized — probably not. — John Mueller (official) · MaybeABot (JohnMu) February 24, 2023 Bing has even made an official stance on the lastmod tag in XML sitemap, stating: “For XML sitemaps, one of the most critical tags you can include in your sitemap is the “lastmod” tag.” 10. XML sitemaps should only include 200 status URLs that are all self-canonicalized Remember to keep only live URLs, 200 status, indexable and self-canonicalized.

If you continue to showcase 404 or 301 redirected pages, search engines could stop crawling your XML sitemap entirely. Mueller responded to a comment on X (formerly known as Twitter): “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.” 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.
|
|