Skip to main content

Sitemap and robots.txt

CoreLast updated Nov 30, 2026Screenshots from EverShop 2.4

Learn what EverShop puts in your sitemap and robots.txt, when they change, and how search engines find them.

EverShop creates both files for you. You do not need to set anything up. A developer can change them in the store's configuration. See For developers.

Your sitemap​

A sitemap is a file that lists the pages of your store for search engines, such as Google. EverShop serves it at /sitemap.xml on your store's address, for example https://www.example.com/sitemap.xml.

That file is a sitemap index. It links to one file for each type of page:

FileWhat it listsA page is listed when
sitemap-products.xmlProduct pages. Each product variant is a product with its own page.Status is Enabled and Visibility is Catalog, Search.
sitemap-categories.xmlCategory pages.Status is Enabled.
sitemap-cms-pages.xmlContent pages, such as Shipping & Returns.Status is Enabled.
sitemap-landing-pages.xmlLanding pages. See Build a Landing Page.Status is Enabled, and today is between Publish start and Publish end. An empty date has no limit. The page must also have at least one enabled widget for your current theme.
sitemap-static.xmlThe homepage (/) and the all-products page (/products).Always.
sitemap-blog-posts.xmlBlog posts.Status is Published.
sitemap-blog-categories.xmlBlog category pages.Status is Enabled.
sitemap-blog-tags.xmlBlog tag pages.Always. Every tag is listed.

A file appears only when it lists at least one page. For example, a store without landing pages has no sitemap-landing-pages.xml.

Each entry in a file has the full address of a page, the same address your customers see. An example is https://www.example.com/drinkware/ceramic-coffee-cup-white, a product in the Drinkware category. Most entries also have the date and time the page last changed.

Pages the sitemap leaves out​

  • Products with Status Disabled, or with Visibility Not visible individually.
  • Disabled categories, content pages, landing pages and blog categories, and blog posts with Status Draft.
  • The blog's main page, /blog.
  • Search results, the cart, checkout and customer account pages.

The sitemap does not look at stock. An out-of-stock product stays in the sitemap while it is enabled and visible.

Stores with several languages​

When your store has more than one language, each page appears once for each language. The default language has no prefix, such as /drinkware. Every other language has its code first, such as /fr/drinkware. Each entry also links to the same page in the other languages. Search engines use these links to show each customer the right language. See Languages and Translations.

When the sitemap updates​

EverShop checks your store every 30 minutes while the store runs. It rebuilds the sitemap when it finds a change:

  • A page was added, enabled, disabled or deleted.
  • A page changed, or its address changed.
  • You turned a language on or off.

It also rebuilds the sitemap at least once every 24 hours.

  • A new product can take up to 30 minutes to appear in the sitemap. A product you disable can stay in it for up to 30 minutes.
  • The sitemap files can be missing, for example after a new installation. EverShop then builds them when someone first opens /sitemap.xml.

Search engines read your sitemap on their own schedule. A page in the sitemap is not on Google at once.

Your robots.txt​

A robots.txt file tells search engine crawlers which parts of your store not to visit. EverShop serves it at /robots.txt, for example https://www.example.com/robots.txt. It contains:

User-agent: *
Disallow: /admin/
Disallow: /checkout
Disallow: /account
Disallow: /cart
Disallow: /api/

Sitemap: https://www.example.com/sitemap.xml
LineWhat it means
User-agent: *The rules below are for every crawler, including the crawlers of AI (artificial intelligence) services.
Disallow: /admin/Do not visit the admin panel.
Disallow: /checkout, /account, /cartDo not visit checkout, customer account pages or the cart. These pages are different for each customer and have no value in search results.
Disallow: /api/Do not visit the store's API (application programming interface). These are the addresses that apps use to exchange data with your store.
Sitemap:The full address of your sitemap. Search engines find your sitemap through this line, even if you never submit it.

robots.txt is a request to crawlers, not a lock. Anyone who has the address of a page can still open it. Your admin panel and your customers' accounts stay protected by their sign-in.

Change robots.txt​

A developer can change robots.txt in three ways:

  • Change the list of Disallow lines in the store's configuration.
  • Replace the whole text, for example to block some crawlers.
  • Add a robots.txt file to the store or to its theme. EverShop then serves that file instead, and the Sitemap: line is there only if the file has it.

Submit your sitemap to Google​

Search engines can find your sitemap through robots.txt. Submitting it in Google Search Console is still useful: Google Search Console then shows how many of your pages Google found, and any problems with them.

  1. Make sure your sitemap shows your real domain, with https://. Open /sitemap.xml on your store and look at the addresses.
  2. In Google Search Console, add your store's domain, and prove that you own it.
  3. Submit the address of your sitemap index, for example https://www.example.com/sitemap.xml.

Submit only sitemap.xml. It links to all the other sitemap files, so Google finds them from there. Bing Webmaster Tools accepts the same address.

Troubleshooting​

Why does my sitemap show localhost or the wrong domain?​

EverShop builds every address in the sitemap and in robots.txt from the store's home URL (web address), a server setting. Without it, the addresses start with http://localhost and a port number, such as http://localhost:3000. Ask your developer to set the home URL to your real domain, with https://.

After the change, robots.txt shows the new address at once. The sitemap shows it after its next check, within 30 minutes.

Why is a page missing from my sitemap?​

  • Check the page's status. For a product, also check Visibility. See Pages the sitemap leaves out.
  • Wait up to 30 minutes after a change. EverShop checks for changes every 30 minutes.
  • The blog's main page is never in the sitemap.

Next steps​

For developers​

The sitemap and robots.txt are set with the sitemap key in the configuration, for example sitemap.robots.disallow. Extensions can add their own pages to the sitemap. See Sitemap & robots.txt. The home URL is EVERSHOP_HOME_URL or shop.homeUrl. See the Production Checklist.