Generating a sitemap is only half the job — search engines still have to find it. There are three ways to hand it over, and using more than one does no harm.
1. Host it at a predictable URL
Upload the file to your site — by convention at
https://example.com/sitemap.xml.
This is the address you will reference everywhere else, so pick it once and keep it stable.
2. Reference it from robots.txt
Add a Sitemap:
line to your robots.txt file.
Any crawler that reads robots.txt — which is the first thing most of them do — will discover your sitemap
automatically, even ones you never submit to directly.
Sitemap: https://example.com/sitemap.xml
3. Submit it in webmaster tools
For the most direct route — and to see how search engines process it — submit the URL by hand:
- Google Search Console — open the Sitemaps report, paste your sitemap URL and submit. It will report how many URLs were discovered and any errors.
- Bing Webmaster Tools — the same flow under Sitemaps; Bing also powers other engines, so one submission reaches several.
Both require you to verify ownership of the site first, usually by uploading a small file or adding a DNS record. Once verified, you can resubmit any time your sitemap changes — though search engines also recrawl a known sitemap on their own schedule.
Let it happen automatically
With an account, this tool can host your sitemap, help you verify with Google and Bing, and ping the search engines whenever a fresh crawl rebuilds it — so you set it up once and forget about it.
Keep reading