AI SEO on Shopify: robots.txt.liquid and AI crawlers
Shopify manages your store's robots.txt for you, and that default is usually fine. You can customize it, but Shopify is unusually blunt about the risk.
How robots.txt works on Shopify
You edit it through a theme template: Online Store → Themes → Edit code → Add a new template → robots. Shopify recommends adding rules to that robots.txt.liquid template rather than replacing it with plain text, so Shopify can keep the rest of the file up to date.
Shopify's warnings are worth reading before you touch it:
- It's an "unsupported customization", so Shopify Support can't help with edits.
- "Incorrect use of the feature can result in loss of all traffic."
- Uploading a theme doesn't import
robots.txt.liquid.
Can you block AI crawlers on Shopify?
Shopify describes two layers. At the network layer, it handles bot management for stores itself. At the robots.txt layer, you can allow or block specific crawlers by customizing robots.txt.liquid, though Shopify notes those rules are advisory and not every crawler follows them. It also notes that blocking AI crawlers doesn't stop product data reaching agentic storefronts you've switched on through Shopify Catalog.
If you do customize it, keep the crawlers behind AI search allowed (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot and Bingbot) and only block training crawlers like GPTBot if you want to. Our AI crawler directory explains which is which, and the AI crawler checker shows what your store's file allows.
Structured data
For a store, product pages matter most: name, price, availability and reviews stated clearly, both on the page and in structured data. For your brand itself, an Organization block with your logo and social profiles helps assistants connect the store to you. Our schema generator writes one.
Sources
- Shopify Help Center, Editing robots.txt.liquid