Before creating and submitting a sitemap, distinguish between the two types: an XML sitemap provides a list of URLs for search engines; an HTML sitemap is a navigation page for visitors and cannot replace an XML sitemap. You can create an XML sitemap with a plugin or generator, upload it to your website, and submit its URL. An HTML sitemap can be created manually or with a tool, published, and linked from the header or footer. Submitting an XML sitemap helps search engines discover URLs but does not guarantee immediate indexing.
Creating XML sitemaps: select URLs, then check the file
For WordPress sites, consider using a plugin such as Yoast SEO to generate an XML sitemap. Other websites can also use sitemap generators. Generating the file is only a starting point: you still need to check that the list matches your site’s actual content.
- Make sure the sitemap includes the important content you want search engines to crawl and index.
- Use canonical URLs and exclude alternative versions of the same content. A sitemap can only support other canonicalization signals; it cannot determine canonical URLs on its own.
- Check the file format and URLs, and avoid including pages that redirect or return errors.
Semrush’s 2021 tutorial lists limits of 50 MB uncompressed and 50,000 URLs per file, and recommends splitting sitemaps that exceed them. You can also create separate files by content type—for example, one for articles and another for videos—and group them under a sitemap index file.
Placing XML sitemaps: start with the root directory; views on subdirectories differ
Neil Patel’s 2021 tutorial presents /sitemap.xml in the website’s root directory as a common location. If you have no special requirements, this is a reasonable starting point, but it is not the only permitted location.
Forum discussions offer differing views on subdirectory placement: one contributor reported placing a sitemap in /sitemaps/, listing URLs from other paths, and receiving no errors after submission. Another cited the protocol, noting that a sitemap’s location limits the scope of URLs it can include. Receiving no errors is not an official guarantee that any location is supported, so that experience alone is not enough to establish that a subdirectory setup will work.
Submitting XML sitemaps: submission does not guarantee indexing
Semrush’s 2024 article recommends checking an XML sitemap for errors before submitting it through Google Search Console. If you use multiple sitemaps, the 2021 tutorial mentioned above recommends submitting the sitemap index URL so search engines can access the individual lists.
Creating and submitting a sitemap are separate tasks: you do not need a Search Console account to create one. The list still needs maintenance after submission. If the file is manually created or statically generated, do not assume it will update automatically when the site’s content changes. Recommendations in the cited material to resubmit daily or monthly do not amount to a consistent official schedule.
Creating HTML sitemaps: organize for navigation, then add a link
An HTML sitemap can be an ordinary webpage with links organized by topic and hierarchy. Semrush’s 2020 tutorial suggests that small websites can compile a page list manually, then give it to a developer to build the sitemap. However, the list must also be updated manually when pages change. Once the sitemap is ready, add a link in the header or footer so visitors can find it.
There is no need to cram in every page for the sake of completeness. A 2026 Search Engine Journal report quotes Google explaining that e-commerce sites can list product categories first, allowing visitors to enter a category and then choose a product. Search engines can also discover pages by following these ordinary links, but an HTML sitemap still cannot replace an XML sitemap.
Sitemaps: perspectives from across the web
Does every website need a sitemap?
Not necessarily. One contributor considers sitemaps optional; another suggests that search engines can discover content by crawling sites with clear navigation and URL structures, while large or highly complex sites may need more help. The latter mentions roughly a thousand pages as a rule of thumb, not an official threshold. Whether to use a sitemap should still depend on the site's structure and content discovery needs.
What should happen to a sitemap after a website redesign or migration?
After a redesign or migration goes live, first verify the redirects and the live site's SEO settings, then check that the XML sitemap lists the intended destination URLs. If you use a static sitemap, it is recommended that you regenerate and check it before submitting it, rather than reuse the old list.
Does successful processing of a sitemap index file mean all pages have been indexed?
No. One interpretation in the forum discussion is that “sitemap index successfully processed” means the search engine successfully fetched the sitemap, not that every page listed has been indexed. A sitemap helps search engines discover URLs, but submission itself does not guarantee immediate indexing. The sitemap's processing status and the indexing status of individual pages therefore need to be considered separately.
References
- SEO Tips When Creating a Site Map?www.warriorforum.com — Discusses: Does successful processing of a sitemap index file mean all pages have been indexed?
- Should I include everything in the sitemap or only new content?webmasters.stackexchange.com — Discusses: Does every website need a sitemap?
- Should I include everything in the sitemap or only new content?webmasters.stackexchange.com — Source used in the article above.
- Canonical URLs: SEO Best Practices, Common Issues, and How to Fix Themwww.semrush.com · 2020-05-15T17:19:00Z — Source used in the article above.
- How to Get Google to Instantly Index Your New Websiteneilpatel.com · 2021-02-16T15:00:00+00:00 — Discusses: Does successful processing of a sitemap index file mean all pages have been indexed?
- Google Explains How To Use HTML Sitemaps For SEOwww.searchenginejournal.com · 2026-10-09T21:31:30+00:00 — Source used in the article above.
- How do I specify the Google sitemap generator destination directorywebmasters.stackexchange.com — Source used in the article above.
- How do I specify the Google sitemap generator destination directorywebmasters.stackexchange.com — Source used in the article above.
- HTML Sitemap: The Benefits for SEO and Userswww.semrush.com · 2020-12-17T14:29:00Z — Source used in the article above.
- How do I specify the Google sitemap generator destination directorywebmasters.stackexchange.com — Source used in the article above.
- What Are Footer Links? Why They Matter + Tipswww.semrush.com · 2024-11-06T15:29:00Z — Source used in the article above.
- How You Can Avoid an SEO Disaster During Your Website Redesignwww.warriorforum.com — Discusses: What should happen to a sitemap after a website redesign or migration?
- How to Submit a Sitemap to Google (in 3 Simple Steps)www.semrush.com · 2021-06-16T21:05:00Z — Source used in the article above.
- your fresh content on Googlewebmasters.stackexchange.com — Discusses: Does every website need a sitemap?
- Using HTML sitemaps for SEO and UXwww.warriorforum.com — Source used in the article above.



