How do you submit a sitemap to search engines?
Submit your sitemap by adding its URL, such as https://www.example.co.uk/sitemap.xml, in each search engine’s webmaster tools platform. You can also reference the sitemap in your robots.txt file, although this method does not replace direct submission where that option is available.
Submit a sitemap by adding its publicly accessible URL to the webmaster tools platform provided by each search engine you want to target. The usual format is an XML file such as https://www.example.co.uk/sitemap.xml. You should also reference the sitemap in your robots.txt file, but this does not replace direct submission where a search engine provides a submission option.
A sitemap helps search engines discover the important, indexable URLs on your website. It is particularly useful for large websites, recently launched sites, websites with complex navigation, and pages that are not well connected through internal links. It does not guarantee that every submitted URL will be crawled or included in search results.
Before submitting your sitemap
- Confirm that the sitemap URL loads without a login, access restriction or browser challenge.
- Check that it returns a successful server response rather than a redirect, error page or soft 404.
- Make sure the file uses valid XML syntax and has the correct XML content type where possible.
- Include only canonical, indexable URLs that you want search engines to show in their results.
- Remove URLs blocked by robots.txt, marked with a noindex directive, redirected to another page, or returning an error.
- Check that the URLs use the preferred version of your domain, including the correct protocol, hostname and trailing-slash format.
A sitemap can be generated by your content management system, SEO software or a dedicated site-crawling tool. Many systems update it automatically when pages are added, amended or removed. If your website has several sitemap files, they can be listed in a sitemap index, for example https://www.example.co.uk/sitemap-index.xml. Submit the sitemap index rather than adding every individual sitemap manually.
How to submit a sitemap
- Identify the complete sitemap URL. Common locations include /sitemap.xml, /sitemap-index.xml or a platform-specific sitemap address.
- Open the webmaster tools account for the relevant search engine and select the verified website property. The property must match the domain and URL version used in the sitemap.
- Find the section for sitemaps, site maps or website discovery. Enter the sitemap path or full URL in the submission field.
- Submit the sitemap and check the resulting status. A successful submission normally means that the file has been received, not that all its URLs have been indexed.
- Repeat the process in the webmaster tools platforms for other search engines that matter to your audience.
Some platforms ask for the full sitemap address, while others allow you to enter only the path after the domain. Follow the format shown in the relevant submission form. If the platform reports that the sitemap has already been submitted, there is usually no need to add it again; check its latest processing status instead.
Add the sitemap to robots.txt
You can make the sitemap easier for crawlers to find by adding a line such as:
Sitemap: https://www.example.co.uk/sitemap.xml
This directive can be included in the root-level robots.txt file. It is not affected by user-agent rules in the same way as ordinary crawling instructions, but the sitemap itself must still be available to search engines. Use the absolute URL and keep the reference accurate if the sitemap location changes.
What to check after submission
Return to the webmaster tools platform regularly and review the sitemap report. Pay attention to whether the file was fetched successfully, whether any URLs were rejected, and whether the number of discovered URLs appears reasonable for the website. A difference between submitted URLs and indexed URLs is not automatically an error. Search engines may exclude duplicate pages, redirected URLs, pages with thin or low-value content, blocked resources and URLs that do not meet their quality or indexing criteria.
Where errors are reported, inspect the affected URLs rather than resubmitting the same file repeatedly. Common problems include:
- Could not fetch: the sitemap may be unavailable, blocked, incorrectly formatted or returning a server error.
- Invalid URL: the file may contain malformed addresses, unsupported characters or URLs outside the submitted website property.
- Blocked by robots.txt: a crawl rule is preventing access to a URL that the sitemap identifies as important.
- Submitted URL marked noindex: the sitemap conflicts with the page’s indexing directive.
- Submitted URL is a redirect: replace the redirected address with the final canonical URL.
- Duplicate or alternate page: the URL may not be the preferred version selected for indexing.
After correcting the underlying issue, allow the sitemap to be recrawled or request processing again if the platform provides that option. Avoid changing the sitemap URL unnecessarily, as a stable location makes ongoing monitoring easier.
Keep the sitemap accurate
A sitemap should be maintained as part of your technical SEO process. Update it when important pages are published, removed or materially changed, and remove URLs that are permanently unavailable. The lastmod value should reflect a genuine, significant page update; changing it on every crawl without changing the page can reduce its usefulness. Sitemap priority and change-frequency fields are generally less important than accurate URLs, reliable accessibility and consistent indexing signals.
Submitting a sitemap supports discovery, but it is only one part of search engine visibility. Use clear internal links, consistent canonical tags, appropriate robots directives, accessible content and reliable server performance alongside the sitemap. If a page is not being indexed, investigate the page itself and its technical signals rather than assuming that another sitemap submission will resolve the problem.

Submitting a sitemap means giving a search engine the public URL of your XML sitemap through its webmaster tools platform. This helps the crawler discover your important URLs, but it does not guarantee that every submitted page will be crawled or indexed.
Before submission, check that the sitemap:
- Loads without a login, access restriction or browser challenge.
- Returns a successful response and valid XML.
- Contains only canonical, indexable URLs that you want shown in search results.
- Uses the correct domain, protocol and URL format for the verified website property.
You can also add the sitemap’s absolute URL to your root-level robots.txt file using the format Sitemap: https://www.example.co.uk/sitemap.xml. This makes the file easier for crawlers to discover, but direct submission remains useful because webmaster tools reports whether the sitemap was fetched and identifies URL-level issues such as redirects, blocked pages and noindex directives.