What Are XML Sitemaps For? The Basics of Creating, Configuring, and Submitting Them

ProcrustesPR

An XML sitemap is a list of a website’s important pages that search engines can read. Submitting it tells search engines where to find that list, helping them discover content. You can create one with a website platform, plugin, or crawling tool, choose which pages to include, and submit it to Google Search Console, then keep it updated. Submission does not guarantee indexing: Google still decides whether and when to crawl pages and whether to index them.

ProcrustesPRProcrustesPRHow Long Does It Take to Evaluate SEO Results?

Which websites should prioritize creating a sitemap?

Not every website relies on sitemaps to the same extent. They are a higher priority for large websites, new sites with few external links, and sites with many orphan pages (pages with no incoming links from other pages) or pages with too few internal links. Sites with extensive image or video content can also consider sitemaps designed for those content types.

A sitemap is only a supporting tool. If important pages are buried deep within the site structure, you should still improve navigation and internal links to connect related pages. Submitting a list alone will not solve every problem with search engines discovering and indexing pages.

Choose how to create your sitemap, then set up automatic updates

  • Using WordPress: Plugins such as Yoast SEO and Rank Math can generate sitemaps and update them automatically as content changes.
  • Using a custom-built website: Discuss automatic updates with your website developer during development or a redesign so the sitemap does not remain stuck at its launch-day version. Custom functionality may add to the cost.
  • Using a sitemap tool: You can use a sitemap generator or crawl your website with Screaming Frog to create an XML sitemap.

When choosing a method, consider ongoing maintenance, not just whether it can produce a file. For example, a site that continually adds products needs a way to update the list without manually recreating the sitemap every time content is added.

Include important public pages, not every URL

The list should focus on important public pages you want search engines to index, excluding login pages, thank-you pages, and duplicate content. You can also create separate sitemaps for content types such as articles, products, and categories, then bring them together in a sitemap index file.

If you are redesigning or migrating a website, check robots.txt and page indexing settings before launch to avoid leaving testing restrictions in place on the live site. Even if a page is included in a sitemap, you still need to check that its settings allow search engines to crawl and index it.

Submit the XML file’s location, not a navigation page

Once the sitemap is generated, place the file on your website, check that search engines can access it, and submit its actual URL to Google Search Console. You can also specify its location with a Sitemap directive in robots.txt or submit it to Bing Webmaster Tools. Even after setting up automatic updates, check that the list continues to include the site’s important content.

An HTML sitemap intended for visitors cannot replace an XML sitemap. According to a 2026 report by Search Engine Journal, HTML sitemaps can help visitors navigate a site and search engines discover links, but they lack the strict structure of XML sitemaps and cannot be submitted and processed in the same way.

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

XML sitemaps: perspectives from across the web

What should you do if a sitemap is too large?

A single sitemap is limited to 50 MB uncompressed and a maximum of 50,000 URLs. If it exceeds either limit, you can split it into multiple files, then create and submit a sitemap index file pointing to each one. Content-heavy websites can also split sitemaps by articles, products, or categories for easier management, but each list still needs to be kept up to date.

How do you actually submit a sitemap in Google Search Console?

First, confirm that the generated sitemap is hosted on your website and obtain its actual URL. Then open the “Sitemaps” page in Google Search Console, enter that URL, and submit it. You are submitting the location of the sitemap file, not entering each page in the list individually. Afterward, you should still check that the file remains accessible and up to date.

What should you check if pages are not indexed after submission?

First, check whether the sitemap contains any URLs that return a 404. Then check whether robots.txt, noindex tags, or login requirements are unintentionally preventing important pages from being crawled or indexed. During a website redesign or migration, you can also crawl the URLs in the list to check whether they return a 200 status. Even after these issues are fixed, submitting a sitemap still does not guarantee that Google will crawl or index the pages.

Do news websites need a separate news sitemap?

Websites that frequently publish news can consider creating a news sitemap to help search engines discover their latest articles. A 2025 Semrush article recommends including only news from the past 48 hours, continually adding new articles, and removing older content from the list. You can use plugins or custom scripts to automate sitemap updates and continue monitoring the file to check that it is working properly.

Should you remove the old sitemap immediately when migrating a website?

Not necessarily. Backlinko recommends submitting a new sitemap during migration while retaining the old sitemap in Search Console, provided search engines can still access the old file and follow redirects from the old URLs to their new locations. This advice applies to migrations, and you should also check the status of the URLs in the new list.

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

References

  1. ASP.NET MVC SEO friendly URLs and Sitemapwebmasters.stackexchange.com — Discusses: What should you check if pages are not indexed after submission?
  2. News SEO Guide: How to Optimize News Articles for Searchwww.semrush.com · 2025-10-22T08:29:00Z — Discusses: Do news websites need a separate news sitemap?
  3. Featured Snippets: 如何讓你的內容置頂 Google 排名?Structured data 是什麼?tenten.co · 2022-04-25T09:51:58.000Z — Discusses: What should you check if pages are not indexed after submission?
  4. WordPress SEO 優化教學,一定要做的基本設定www.yesharris.com · 2024-06-17T19:34:08+08:00 — Source used in the article above.
  5. Sitemap 是什麼?讓 Google 爬蟲快速了解你的網站!www.awoo.ai · 2022-10-06T09:41:23+00:00 — Discusses: What should you do if a sitemap is too large?
  6. Google Explains How To Use HTML Sitemaps For SEOwww.searchenginejournal.com · 2026-10-09T21:31:30+00:00 — Source used in the article above.
  7. 網站地圖SITEMAP | 它們對於SEO有多重要?ithelp.ithome.com.tw — Discusses: What should you check if pages are not indexed after submission?
  8. Website Migration SEO Checklist (88 Steps + Free Template)backlinko.com · 2024-04-01T17:23:50-05:00 — Discusses: What should you check if pages are not indexed after submission?; Should you remove the old sitemap immediately when migrating a website?
  9. How to create an XML sitemap?www.semrush.com · 2025-09-16T10:10:00Z — Source used in the article above.
  10. What Is an SEO Score? (+ How to Check It for Free)www.semrush.com · 2021-05-27T08:46:00Z — Discusses: How do you actually submit a sitemap in Google Search Console?
  11. 技術性SEO:打造高品質網站,提升搜尋引擎排名tenten.co · 2024-12-25T18:03:57.000Z — Discusses: What should you do if a sitemap is too large?
  12. Comprehensive SEO Checklist (2025)neilpatel.com · 2024-05-30T19:00:00+00:00 — Source used in the article above.
  13. 網站搬家不崩潰:這樣做就對了! (指南+避雷)tenten.co · 2025-04-23T14:32:08.000Z — Source used in the article above.
  14. 50 Reasons Your Website Deserves to Be Penalized By Googleneilpatel.com · 2013-07-03T17:20:23+00:00 — Discusses: How do you actually submit a sitemap in Google Search Console?

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