How do I link to my store's sitemap?
Your store has two kinds of sitemap, and they work differently:
- XML sitemap at
yourstore.com/sitemap.xml: this is for search engines, not visitors. It works automatically and does not need a link on your homepage. - Site Map page: a visitor-friendly page that is created automatically with your store's default pages.
Add a sitemap link to your menu
You can add up to five custom links to your store's top menu, pointing anywhere you like, including your sitemap.
- In your store admin, go to Design > Links.
- Open the Header tab.
- Find a free Navigation - Custom Link slot (1 to 5).
- Enter the link, for example
/sitemap.xmlor the address of your Site Map page, and the text you want to show in the menu. - Save. The link appears in your store menu on desktop and mobile.
If you would rather show a link somewhere other than the menu, for example just before the footer, you can add one with the Add Custom HTML feature:
<a href="/sitemap.xml">Sitemap</a>