What are the risks and best practices of using sitemaps?

ProcrustesPR

The main risks of using a sitemap are including URLs that should not be listed, providing inaccurate update information, and failing to meet file format or size requirements. The priority is not to add more URLs, but to select the canonical URLs you want to appear in search results, maintain accurate modification dates, and regularly check for errors. Google’s documentation states that URL order does not affect how Google interprets a sitemap, and priority and changefreq are ignored, so maintenance time is better spent elsewhere.

ProcrustesPRProcrustesPRHow Long Does It Take to Evaluate SEO Results?

Choose the right URLs rather than listing every version

When the same content has multiple URLs, Google recommends choosing the preferred canonical URL for the sitemap rather than listing them all. For example, if an article has both a regular URL and a version with tracking parameters, list the version the site has selected as canonical.

The iThome article warns that as a website changes, its sitemap may still list URLs for deleted pages that return a 404 or for pages marked noindex. This is a maintenance risk identified by the author; it does not mean it will occur on every website or that using a sitemap causes these problems.

  • Limit the list to URLs you want to appear in search results.
  • When mobile and desktop URLs differ, Google generally recommends listing only one version; if both are listed, add annotations identifying the versions.
  • When a page is deleted or set to be excluded from search results, check the sitemap to make sure it still lists the URLs you want indexed.

Format, location, and size all have explicit limits

Sitemaps must use UTF-8 encoding, and URLs must be complete absolute URLs that include the protocol and domain, not just paths. Unless submitted through Search Console, a sitemap’s scope is limited by the directory where the file is located. Google therefore recommends placing it in the site’s root directory.

  • A single file must not exceed 50 MB uncompressed or 50,000 URLs.
  • If either limit is exceeded, split the sitemap into multiple files; you can submit a sitemap index or multiple sitemaps.
  • If you only need to provide URLs, you can use a text sitemap: include one URL per line with no additional content, and use the .txt file extension.

Modification dates should reflect content changes, not daily refreshes

Google only uses the modification date in lastmod when it is consistently accurate and verifiable. The date should reflect the page’s last significant update, such as changes to its main content, structured data, or links. Changing only the copyright year does not count as a significant update.

Do not use the time the sitemap was regenerated as the modification time for every page. Rather than adjusting priority or changefreq, which Google ignores, or rearranging URL order, check whether lastmod accurately reflects when each page was updated.

Schedule checks even when generation is automated

Google’s documentation recommends automatically generating a sitemap when there are more than a few dozen URLs, because maintaining large lists manually is cumbersome. First check whether your content management system (CMS) already offers this feature, then review the generated URLs, dates, and file sizes. Automated generation does not guarantee accuracy.

News sitemaps have additional requirements: retain only URLs for articles created within the past two days, or remove the news metadata from older URLs. When publishing new articles, update the existing file rather than creating a new one each time. Google’s news sitemap documentation also notes that Search Console can be used to identify errors if problems arise.

ProcrustesPRProcrustesPRWhere should I start if I want to do SEO myself?

Sitemaps: perspectives from across the web

Does having a sitemap guarantee that Google will index every page?

No. A sitemap can help Google discover URLs, especially on a new site whose internal links are not yet fully established, but discovery does not guarantee that every page will be indexed. The iThome author also notes that Google may still crawl most pages on a large website through links, even without a sitemap. A sitemap is therefore neither a substitute for site links nor a guarantee of indexing.

What access restrictions should you watch for with video sitemaps?

The files referenced in a video sitemap must be accessible to Googlebot without requiring a login. They must not be blocked by robots.txt, a firewall, or similar mechanisms. Included videos should also be relevant to the content of the pages hosting them. You can create a separate video sitemap or mRSS feed, or add video markup to an existing sitemap, to help Google find and understand videos—especially new videos or those that standard crawling methods cannot discover.

Do images need a separate sitemap?

Not necessarily. You can create a separate image sitemap or add image markup to an existing sitemap; Google's documentation says both approaches work. This is particularly helpful for images Google might otherwise miss, such as images accessed through JavaScript. Whichever approach you choose, you should still follow general sitemap and image publishing best practices.

ProcrustesPRShould I rewrite or update an old article that does not rank?

References

  1. 建立並提交 Sitemap | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.
  2. 影片 Sitemap 和範例 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: What access restrictions should you watch for with video sitemaps?
  3. 建立新聞 Sitemap | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.
  4. 圖片 Sitemap | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: Do images need a separate sitemap?
  5. 從 IT 技術面細說 Search Console 的 27 組數字 KPI (6) :網頁ithelp.ithome.com.tw — Discusses: Does having a sitemap guarantee that Google will index every page?

Related articles

How Long Does It Take to Evaluate SEO Results?Where should I start if I want to do SEO myself?Should I rewrite or update an old article that does not rank?What should I check when organic traffic suddenly drops?Why can I not find my published article on Google?Will Reposting Social Content on My Website Cause a Duplicate-Content Penalty?Eight SEO essentials for beginners: Getting your pages indexedWhat Is SEO? Understanding Optimization Priorities Through How Search Engines Work
ProcrustesPR
ProcrustesPR