Steps Sell through AI shopifyai-visibilityaeo

Why does my robots.txt not match Shopify's rules, and how do I remove the theme template that replaced it?

Your storefront serves a robots.txt Shopify did not generate, because a theme template replaced it. Confirm the writer, delete one file, re-fetch.

When this applies
Your theme contains templates/robots.txt.liquid, and the robots.txt your storefront serves does not match what Shopify generates on its own. [1]
When this does not apply
You maintain custom crawler rules on purpose, or the file is absent from every theme. Shopify says the template "isn't included in any themes by default", so a store without it already serves the generated file. [1]
Why this matters
A theme template replaces Shopify's generated robots.txt instead of merging with it, and Shopify says "The default rules are updated regularly to ensure that SEO best practices are always applied." A store left on an old override stops receiving later default rules. [1]
What to do, or not do
Read the robots.txt your storefront serves, confirm a theme template is producing it, delete that one file in the theme code editor, then re-fetch the file. [2] [3]
What you'll see when it's done
Re-fetching /robots.txt returns Shopify's generated output and no longer the template's output. Shopify states that "Changes are instant, but crawlers don't always react immediately." [2]
What this result does not prove
Deleting the template proves nothing about ranking, traffic, AI visibility, or revenue, and it does not identify which app wrote the file. [2] [1]
Sources checked
September 3, 2026

Steps

  1. Open https://<your-domain>/robots.txt in a browser and read the file your storefront serves. [2]
  2. In the theme code editor, look inside templates for robots.txt.liquid. Shopify does not ship this file in any theme, so its presence means something wrote it. Check every theme you might publish. [1] [3]
  3. Open the file and look for a Liquid comment containing "acr-robots-policy" or "Generated by AI Commerce Ready". That signature identifies the retired AI Commerce Ready managed robots.txt feature. Without a signature you recognise, treat the file as a deliberate customization and stop. [1]
  4. Duplicate the theme before you delete anything. Shopify warns "Deleting a theme file might break your theme. Before you delete any file, make sure to make a duplicate of your theme." and "Deleted theme files can't be recovered." [3]
  5. Right-click robots.txt.liquid and select Delete permanently from the drop-down menu, then click Delete. Shopify says deleting the custom file returns the store to the default robots.txt file. [3] [2]
  6. Re-fetch /robots.txt and confirm the generated output is what your storefront now serves. Shopify says changes are instant, and that crawlers do not always react immediately. [2]

Open the official page, then report your progress

Progress stays in this browser on this device. We record only which official page you opened and whether you report that you finished or stopped at a step. AI Commerce Ready and Shopify do not check the result or change your store here.

Where the official page is
Shopify admin → Online Store → Themes → For the relevant theme, click the ··· menu → Edit code
What you'll see before you act
The theme code editor opens with the theme's directories, including templates.
What you'll see when it's done
Re-fetching /robots.txt returns Shopify's generated output and no longer the template's output. Shopify states that "Changes are instant, but crawlers don't always react immediately."
When to stop, or leave it as it is
Stop in three situations. An app that writes this file is still installed: disable that writer first, or the file returns after you delete it. You cannot confirm which app owns the file: copy the template out and keep it instead of deleting it, because Shopify says deleted theme files cannot be recovered. You want custom crawler rules on purpose: deletion is the wrong fix for that, and the file is doing what you asked. [1] [3]
Go to Shopify admin theme code editor

Come back here after: Keep this page open. After deleting the template in the theme code editor, return to this tab to re-fetch your robots.txt and record what you observed.

What would you like to report?

When a third party is worth paying for, and what you do not have to buy

When paid help is worth it
Paid help is worth it when you want custom crawler rules authored correctly, because Shopify says "Edit the code for a theme only if you know HTML and CSS, and have a basic understanding of Liquid." Removing a template that should not be in the theme takes one admin action and is free. [1] [3]
What you do not have to buy
Reading your robots.txt happens in a browser and deleting the template happens in the Shopify theme code editor, so this work needs no paid app. [2] [3]

Shopify generates a robots.txt file for every store. A theme can override it with one file, templates/robots.txt.liquid. Shopify does not include that file in any theme, so a store that has one received it from a person or an app.

The retired AI Commerce Ready managed robots.txt feature wrote that file. If your store still carries it, your storefront is serving crawler rules frozen at the moment they were written.

Why an old override goes stale

The template does not add to Shopify’s generated output. It takes the output’s place. Shopify’s own template reference states that the default rules are updated regularly so that SEO best practices are always applied, which means a store sitting on an old override keeps serving the rules that existed when the file was written and receives no later change.

That is the whole cost that this page claims. How a given crawler treats one rule set against another is outside what any store owner can observe from the admin.

Confirm the file is ours before you delete it

Filename is not evidence of ownership. Other apps and other people write theme templates, and some of those files are deliberate.

Open templates/robots.txt.liquid and read the first lines. The retired feature wrote a Liquid comment carrying acr-robots-policy, and a second comment reading Generated by AI Commerce Ready. Liquid comments never reach a crawler, so this signature exists for exactly this moment.

If neither line is there, someone else wrote the file. Treat it as a customization, copy it out, and stop.

Stop before deleting in three situations

  1. An app that writes the file is still installed. Disable that writer first. Otherwise the file comes back after the next theme publish or the next sync.
  2. You cannot confirm which app owns the file. Shopify says deleted theme files cannot be recovered, so copy the template into a text file you keep, and stop there.
  3. You want custom crawler rules. Deletion removes them. Keep the file and edit it against Shopify’s documented robots.default_groups pattern instead.

Delete the template

Duplicate the theme first. Shopify’s warning is explicit: deleting a theme file might break your theme, and a deleted theme file cannot be recovered.

Then, in the theme code editor, right-click robots.txt.liquid, choose Delete permanently, and confirm with Delete. Shopify documents deletion as the way back to the default file, with no step that recreates anything.

The file belongs to one theme. Shopify states that uploading a theme through the Themes section of the admin does not import robots.txt.liquid, so a store can carry the file on one theme and not another. Check every theme you might publish.

What the re-fetch tells you

Load https://<your-domain>/robots.txt again. The finish line is that your storefront now serves Shopify’s generated file, and no longer the template’s output.

Shopify says the change is instant and that crawlers do not always react immediately, so the served file is the observable result and crawler behaviour is not. Nothing about this deletion evidences a change in ranking, traffic, AI visibility, or revenue, and nothing about it identifies which app wrote the file if the signature was absent.

Frequently asked questions

Does Shopify include robots.txt.liquid in a theme by default?
No. Shopify generates robots.txt on its own and says the template "isn't included in any themes by default", so a copy sitting in your theme was added by someone or something. [1]
Do I need to write a replacement robots.txt after deleting the template?
No. Shopify says "If you want to use the default robots.txt file again, then you can delete your custom robots.txt.liquid file." Deletion is the whole restore path. [2]
Is the file present on every theme in my store?
Check each one. Shopify says "Uploading a theme from within the Themes section of the Shopify admin won't import robots.txt.liquid", so the file is per theme and a store can carry it on some themes and not others. [2]

Sources

  1. robots.txt.liquid template reference
  2. Editing robots.txt.liquid
  3. Edit theme code