Technical for BigCommerce stores

How do I allow or block AI crawlers on a BigCommerce store?

The short answer

BigCommerce lets you edit your store's robots.txt in the control panel, where you can add rules for named AI crawlers. Keep search-related crawlers such as OAI-SearchBot open if you want products to appear in AI answers, decide separately about training crawlers, and keep BigCommerce's default rules for cart, checkout and account pages.

Where to edit robots.txt on BigCommerce

BigCommerce generates a robots.txt for each storefront and, at the time of writing, lets you edit it from the website settings in the control panel, usually under a section for search engine robots. If you run more than one storefront, each has its own file. BigCommerce updates its control panel from time to time, so search its help center if the setting has moved. After saving, open yourstore.com/robots.txt to confirm what's live.

The default file already disallows pages such as the cart, checkout, account and internal search results. Keep those lines. Add your AI crawler rules as separate groups rather than rewriting the file.

Writing rules for AI crawlers

Rules are grouped by user agent. To block a crawler, add a group with its name and "Disallow: /". To let it in but keep it away from certain paths, list only those paths. For example, you might block a training crawler entirely while leaving search crawlers subject only to the default rules.

Which crawlers a store should allow

AI companies run different crawlers for different jobs. OpenAI says GPTBot collects content that may be used for training, while OAI-SearchBot is used to show sites in ChatGPT search. Blocking OAI-SearchBot keeps a site out of ChatGPT search answers, which for a store means product pages ChatGPT can't read when it answers a shopping question. OpenAI also notes that robots.txt may not govern ChatGPT-User, since a shopper starts those visits.

For most stores, the sensible default is to keep search-related AI crawlers open and make a deliberate choice about training crawlers. Which AI crawlers to allow goes through the main ones, and GPTBot versus OAI-SearchBot explains OpenAI's split.

Store-specific things to watch

  • Faceted and sorted URLs. Filter and sort parameters can create huge numbers of near-duplicate URLs. Consider whether crawlers need them, as covered in faceted search URLs on BigCommerce.
  • Crawl load. Busy stores sometimes see heavy crawler traffic. Blocking a crawler that sends nothing back is reasonable; blocking search crawlers to save load usually costs more than it saves.
  • B2B and login areas. Crawlers can't log in, so anything behind a customer login is out of reach whatever robots.txt says.
  • Headless storefronts. If your storefront runs on a separate frontend, robots.txt is served by that frontend, not by BigCommerce's file.

Robots.txt is a request that reputable crawlers honor, not a lock. To stop badly behaved bots, you need firewall or CDN rules, which CDN settings that block AI crawlers covers.

Related questions

More questions from BigCommerce stores about AI crawlers and technical AI SEO

AI crawlers and robots.txt - questions every business asks

Next questionCan I add an llms.txt file to a BigCommerce store?

Find out whether ChatGPT and other AI tools recommend your BigCommerce store

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your BigCommerce store when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit