Disallow: /admin
- What Shopify says it does
- Keeps admin pages from being crawled
- What to verify
- Leave it in place
Check Shopify's generated robots.txt, understand its ecommerce crawl rules, safely add Liquid customizations, and distinguish crawling from indexing.
Shopify generates a default /robots.txt that it says works for most stores. Read the live file before changing it. A custom robots.txt.liquid template replaces the generated output, so preserve Shopify's default rule groups with the supported Liquid objects and compare the rendered result before publishing. Use robots.txt to manage crawler access, not to hide a product from search or protect private data.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
https://your-store.example/robots.txt on the primary domain. Shopify generates this file for every store and says its default is right for most stores. Shopify says its default rules keep admin pages, cart links, checkout pages, and sorted collection pages from being crawled.Disallow: /adminDisallow: /cart/Disallow: /checkout and Disallow: /checkouts/Disallow: /collections/*sort_by*Read the response after a theme, app, CDN, or robots template change. Shopify says the robots Liquid object provides the default rule groups, but rendered template output does not always match its generated file exactly, so the public root URL is the proof of what crawlers receive.
noindex on a page it is not allowed to crawl. If a discontinued product should leave search, decide whether to keep it available, redirect it to a close replacement, or return a real not-found response; do not block it and expect that to deindex the URL.noindex when a publicly accessible page should not appear in search, and allow Google to crawl it so it can see the directive.robots.txt.liquid template in the theme's Templates folder. The template replaces the generated output. The template supports only these Liquid objects: robots, group, rule, user_agent, sitemap, and request. Shopify says to save a copy of your current /robots.txt output and compare it with the rendered template output before you publish.Shopify calls this an unsupported customization, says Shopify Support can't help with edits, and warns that incorrect edits risk loss of all traffic. Its guidance is to work with a Shopify Partner or have expertise in code edits and SEO. It also says to remove any previous customizations or workarounds, such as a third-party service like Cloudflare, before you edit the file.
Write down the exact user-agent or URL pattern, why it should be crawled differently, and which normal storefront pages must remain accessible.
In the code editor for the theme you want to edit, right-click the Templates folder, choose New File, and name it robots.txt.liquid. The help center describes the same step as Add a new template, then robots. Loop over robots.default_groups so the default groups stay, then add or remove the narrow rule.
Save in the published theme. Compare the rendered /robots.txt with the backup. Check that the sitemap line and every expected rule group remain present. To revert, delete robots.txt.liquid and Shopify restores the default.
Inspect representative product, collection, and filter URLs against the rendered file. Shopify says changes are instant, but crawlers do not always react immediately.
/robots.txt or network layer affects only open-web discoverability. It does not stop Shopify Catalog from sending your product data to the agentic storefronts you have activated. Review the relevant storefront distribution settings when the concern is where product data is syndicated.For related checks, see Shopify's sitemap guide, Shopify SEO overview, and Google's robots.txt introduction. If Search Console reports “indexed, though blocked by robots.txt,” Shopify says this is normal behavior and usually not a cause for concern; inspect whether the blocked URL should be discoverable before changing a default rule.
{% for group in robots.default_groups %}
{{- group.user_agent }}
{%- for rule in group.rules -%}
{{ rule }}
{%- endfor -%}
{%- if group.user_agent.value == '*' -%}
{{ 'Disallow: /*?q=*' }}
{%- endif -%}
{%- if group.sitemap != blank -%}
{{ group.sitemap }}
{%- endif -%}
{% endfor %}3 questions people ask next, answered from the sources on this page.
Usually no. Shopify says its generated default works for most stores. Customize robots.txt.liquid only for a specific, tested crawl requirement, and preserve the default rule groups.
No. Robots rules control crawling and do not guarantee deindexing. Google might still index a blocked URL that is linked from elsewhere. Use a crawlable noindex, a relevant redirect, or an appropriate not-found response for the intended outcome.
No. Shopify says blocking AI crawlers at /robots.txt or the network layer affects only open-web discoverability. It does not stop Shopify Catalog from sending product data to activated agentic storefronts.
Run the free audit, then approve the fixes. Every change can be undone.