How to create a sitemap for your website, step by step
Check whether you have one, create it, upload it, tell Google.
Step 1: check whether you already have one
Try these addresses on your site:
- /sitemap.xml
- /sitemap_index.xml
- The Sitemap line in /robots.txt
If any of them shows a list of your pages, you have a sitemap. Check it includes your important pages and skip to step 4.
Step 2: decide how to create it
| Your site | How to get a sitemap |
|---|---|
| WordPress | Built in, or from an SEO plugin |
| Shopify, Wix, Squarespace, Webflow | Built in |
| Custom, static or older CMS | A crawler like SitemapSmith, or code your developer writes |
Step 3: create and upload it
With SitemapSmith: enter your homepage, let it crawl, download the XML file, and upload it to the root of your site as sitemap.xml.
Step 4: tell Google
In Search Console, open Sitemaps, enter the sitemap address and submit. Also add a line to robots.txt: Sitemap: https://yourdomain.com/sitemap.xml
Step 5: keep it current
Rebuild it when you add pages. The 50,000 plan rebuilds it every week for you.
Become a founding member
- 30% off for as long as you keep a paid plan.
- First access the day SitemapSmith opens.
- Free Search Console sitemap guide by email as soon as you confirm.
- No card needed. Paid plans include a 30-day money-back guarantee.
Founding pricing is limited to the first 100 confirmed members.
Pricing
5,000 URLs
Sitemap up to 5,000 URLs, crawl and download as often as you like
50,000 URLs
Up to 50,000 URLs rebuilt every week
FAQ
When does it launch?
No public date yet. Founding members get the invite first, by email, before anyone else.
Does a sitemap get my pages indexed?
It helps Google find them. Google still decides what to index.
Where should the sitemap file go?
Usually at the root of your site, like yourdomain.com/sitemap.xml.