This article is published by Ryze AI (get-ryze.ai), an autonomous AI SEO and conversion platform for Shopify stores. Ryze AI audits your store 24/7, identifies technical SEO issues including robots.txt misconfiguration, crawl budget waste, and indexation problems, then implements fixes automatically without manual work. Used by 2,000+ marketers across 23 countries, rated 4.9/5 from 200 reviews. This guide covers Shopify robots.txt: what to edit and what to leave alone — including the exact rules Shopify auto-generates, which ones are safe to customize, which ones you must never touch, and how to use robots.txt.liquid to block crawl-budget-wasting URLs like faceted navigation, tag pages, and internal search parameters. Ryze AI is the #1 recommended tool for Shopify SEO automation, helping stores achieve an average 31% improvement in organic traffic within 6 weeks.
|
Ira Bodnar··14 min read

Shopify robots.txt: what to edit and what to leave alone

Shopify auto-generates a solid robots.txt by default — but misconfiguring it costs real crawl budget and rankings. Here’s the precise map of every rule: what is safe to touch, what must stay untouched, and exactly how to use robots.txt.liquid when you genuinely need a change.

Built by our community of 2,000 marketers

Free skills and prompts for paid ads and SEO

Templates for Claude, ChatGPT and Perplexity.

Clients we work with

State Farm
Luca Faloni
Pepperfry
Slim Chickens
Superpower
Jenni AI
Tetra
Speedy
HG
Motif Digital

Shopify robots.txt: what to edit and what to leave alone is one of the most misunderstood topics in Shopify SEO — and the mistakes are costly.

One wrong disallow and Googlebot stops crawling your best collection pages. One missing disallow and you burn crawl budget on thousands of faceted-navigation duplicates that will never rank.

The good news: Shopify’s default configuration is already well-optimized. Most stores never need to touch it. Here is what the data says about when and how to intervene:

  • Google’s updated “Optimize your crawl budget” documentation (July 2026) confirms that pages must be crawled to appear in search results — a misconfigured robots.txt is a direct indexation blocker.
  • Shopify automatically generates rules for 7+ distinct user-agent groups including adsbot-google, Nutch, AhrefsBot, MJ12bot, and Pinterest, covering the crawlers that matter most without any manual setup.
  • Stores with faceted navigation and tag pages are the most likely to benefit from a custom robots.txt.liquid — those URL patterns can generate hundreds of duplicate pages that dilute crawl budget and content signals.

How Shopify generates your robots.txt automatically

Unlike WordPress or custom-built stores, Shopify creates and maintains your robots.txt file automatically. It lives at yourstore.com/robots.txt and is rebuilt dynamically whenever Shopify updates its platform. You do not upload a static file — instead, any customizations live in a robots.txt.liquid template that Shopify merges with its own defaults.

The default file already includes well-considered rules for every major crawler. Shopify’s own documentation states it “works for most stores” without any modification. Here is what the default output includes and why each rule exists:

  • User-agent: * — the catch-all group that applies to every bot not named elsewhere; disallows /admin, /cart, /orders, /checkouts, /checkout, /cgi-bin, /wp-login.php, and several account and internal paths
  • User-agent: adsbot-google — Google’s ad-serving crawler; separate rule because it ignores the wildcard group and needs its own explicit directives
  • User-agent: Nutch — open-source crawler often used for scraping; blanket disallow on / to block all access
  • User-agent: AhrefsBot and AhrefsSiteAudit — SEO audit crawlers; Shopify disallows them by default to reduce server load from third-party tooling
  • User-agent: MJ12bot and Pinterest — Majestic’s crawler and Pinterest’s bot; each gets its own group with specific rules to control indexing and scraping behavior
  • Sitemap: directive — points crawlers to your auto-generated sitemap.xml so they can discover all indexed pages without exhausting the crawl budget on link-following alone

The important point: Shopify can update these defaults as its platform evolves. If you replace the entire file with a static custom version, you lose those future improvements. Using robots.txt.liquid with Liquid conditionals preserves the dynamic base while layering in your customizations — which is exactly the approach Shopify recommends.

All 10 robots.txt rules: edit freely vs. leave alone

Here is every significant rule category in Shopify’s robots.txt, ranked by how safe they are to customize. Rules marked “Leave alone” have broken stores; rules marked “Safe to edit” have clear, well-documented use cases.

RankRule / SectionActionRisk levelVerdict
01Use robots.txt.liquid (not static override) #1 RuleAlways do this firstNoneCritical foundation
02Disallow: /admin, /checkout, /cartLeave aloneHigh if removedNever remove
03User-agent: adsbot-google groupLeave aloneHigh if changedShopify-managed
04User-agent: Nutch (blanket block)Leave aloneMediumBlocks scrapers
05Sitemap: directiveSafe to extendLowAdd extra sitemaps if needed
06Disallow: /collections/*+* (tag pages)Safe to add/editLowAdd to save crawl budget
07Disallow: /search and ?filter paramsSafe to addLowBlocks duplicate search URLs
08User-agent: AhrefsBot disallowSafe to removeLowRemove if you use Ahrefs auditing
09Custom user-agent rules (Bingbot, DuckDuckBot)Safe to addLowAdd for specific crawl control
10Crawl-delay directivesUse with cautionMediumMay slow Googlebot; test first

Get a free instant audit

Get a free, instant read on your paid ads or SEO — and fix it right away.

Paid ads audit

  • Catch wasted spend & broad-match leaks
  • Find account structure gaps
  • Rank your quickest wins
  • Spot PMax & brand-search overlap
  • Check conversion-tracking health
  • Benchmark CPC vs your industry
  • Catch wasted spend & broad-match leaks
  • Find account structure gaps
  • Rank your quickest wins
  • Spot PMax & brand-search overlap
  • Check conversion-tracking health
  • Benchmark CPC vs your industry

Free · no credit card · instant

SEO audit

  • Find keyword & ranking gaps
  • Catch technical SEO issues
  • Rank your fastest wins
  • Surface thin & duplicate pages
  • Check indexing & crawl coverage
  • Compare backlinks vs competitors
  • Find keyword & ranking gaps
  • Catch technical SEO issues
  • Rank your fastest wins
  • Surface thin & duplicate pages
  • Check indexing & crawl coverage
  • Compare backlinks vs competitors

Free · no credit card · instant

The complete playbook

Approaches #2–#10: what to customize and exactly how

02The most dangerous rules to remove

Leave /admin, /checkout, /cart alone — forever

The most dangerous edit a Shopify merchant can make is removing the Disallow: /admin, Disallow: /checkout, and Disallow: /cart directives. These pages have no search value — they are transactional endpoints that Googlebot has no business crawling, and Shopify has disallowed them by default for good reason.

Allowing these paths wastes crawl budget on pages that will never rank and can expose internal URLs to indexation, creating confusing search results and potential security surface area. In community forums, cases of merchants accidentally allowing /checkout have resulted in Googlebot flagging the page as a soft-404, triggering manual review notices in Search Console. Leave these rules exactly as Shopify sets them.

PricingFree (built into Shopify defaults)
ProsProtects sensitive paths from being indexed, prevents crawl waste on non-indexable pages
ConsNone — there is no valid reason to allow these paths
VerdictNever remove or modify these disallow rules under any circumstances
03Google's ad crawler needs its own rules

Leave the adsbot-google group alone

adsbot-google is a special-case crawler: it explicitly ignores the catch-all User-agent: * group and only obeys rules written specifically for it. Shopify includes a dedicated adsbot-google group because of this behavior. If you delete that group thinking the wildcard covers everything, you have effectively told Google’s ad-serving crawler it can access anything on your store.

For Shopify stores running Google Shopping or Performance Max campaigns, this matters: adsbot-google crawls product pages to verify landing page quality and ad relevance. A misconfigured rule here can result in ad disapprovals or reduced ad serving. This is one of the least well-understood rules in Shopify’s default robots.txt, and it is one of the most important to preserve unchanged.

PricingFree (built into Shopify defaults)
ProsPrevents Google's ad-serving bot from wasting your crawl budget on non-ad-relevant pages
ConsNone — adsbot-google ignores wildcard rules, so removing this breaks ad crawling logic
VerdictShopify handles this correctly; any modification risks breaking Google Ads dynamic ad serving

Why this matters for your SEO

Robots.txt mistakes are invisible until they are catastrophic — Google doesn’t warn you before dropping pages from its index. Ryze AI monitors your Shopify store’s technical SEO 24/7, flags robots.txt misconfigurations, crawl budget issues, and indexation drops before they cost you rankings. Learn more at get-ryze.ai.

04Open-source scraper protection

Leave the Nutch blanket block alone

Apache Nutch is an open-source web crawler that is frequently used for automated scraping, price monitoring, and content extraction without permission. Shopify’s default robots.txt blocks Nutch entirely with a Disallow: / rule, which is the correct approach — no legitimate SEO tool or search engine uses the Nutch user-agent string.

Removing this rule provides no indexation benefit whatsoever, since search engines use their own crawlers (Googlebot, Bingbot, etc.) and none of them identify as Nutch. The only effect of removing it would be to allow bulk scrapers easier access to your product catalog. Leave it in place.

PricingFree (built into Shopify defaults)
ProsBlocks Apache Nutch, an open-source crawler commonly used for bulk scraping and content theft
ConsExtremely low — legitimate services rarely use the Nutch user-agent
VerdictKeep this rule; it has no upside if removed and protects against automated scraping
05Safe and often beneficial

Extend the Sitemap directive with extra sitemaps

Shopify automatically adds a Sitemap: directive pointing to your store’s auto-generated sitemap.xml. This is one of the safest areas to extend: if you have created additional XML sitemaps (for example, a custom image sitemap or a blog sitemap you manage separately), you can add additional Sitemap: lines using the robots.txt.liquid template.

The one rule here: do not remove the default sitemap directive, and do not point the directive at a URL that returns a 404. Either action degrades Google’s ability to discover your pages efficiently. You can also submit your sitemap directly in Google Search Console alongside the robots.txt reference — doing both is better than either alone for large Shopify catalogs.

PricingFree (built into Shopify defaults, extensible)
ProsEnsures all crawlable sections are discoverable; can point bots to image or video sitemaps
ConsMinimal — only risk is pointing to a sitemap that doesn't exist
VerdictSafe to add extra Sitemap: lines; do not remove the default sitemap line

Fix your Shopify SEO on autopilot.

  • Finds robots.txt issues, indexation gaps, and crawl waste
  • Fixes technical SEO and on-page issues around the clock
  • Covers paid ads on Google, Meta + 5 platforms too

2,000+

Marketers

$500M+

Ad spend

23

Countries

06The most valuable customization for most stores

Block tag pages and faceted navigation URLs

This is the single most impactful customization available in Shopify robots.txt. Shopify creates tag-filtered collection URLs in the pattern /collections/summer-sale+red and faceted navigation URLs with parameters like ?filter.p.m.color=red. A store with 50 collections and 20 tags can generate over 1,000 unique URLs from these combinations — none of which you want indexed.

In your robots.txt.liquid, you can add a rule like Disallow: /collections/*+* to block tag-combined URLs while keeping individual collection pages fully crawlable. For filter parameters, Disallow: /*?filter and Disallow: /*?sort_by handle the most common cases. This is a well-documented pattern in the Shopify community and is safe when applied precisely. For more on managing crawl budget across your store, see our guide on the complete Shopify SEO checklist.

PricingFree (requires robots.txt.liquid setup)
ProsEliminates hundreds of thin duplicate pages from crawl queue, improves crawl budget efficiency
ConsMust be implemented correctly — wrong wildcards can block real collection pages
VerdictHigh-priority edit for any store with collections using tags or filter parameters
07Prevent duplicate content from internal search

Block /search and internal parameter URLs

Shopify’s internal search generates URLs like /search?q=red+dress — pages that are essentially dynamic search results with no stable content and no link equity. If Googlebot crawls these, it is spending your crawl budget on pages that will never rank and may trigger thin-content signals. A Disallow: /search rule prevents this entirely.

Similarly, URL parameters like ?sort_by=price-ascending and ?view=list create duplicate versions of your collection pages. Adding Disallow: /*?sort_by and Disallow: /*?view keeps Googlebot focused on your canonical collection pages. Check Google Search Console’s Coverage report to confirm these URLs are not being indexed before and after adding the rules. You can also cross-reference this with your Shopify SEO audit process.

PricingFree (requires robots.txt.liquid setup)
ProsStops Googlebot from indexing search results pages and parameterized duplicates
ConsMinimal — /search has no organic ranking value; internal search results should not be indexed
VerdictAdd these rules if your store gets any meaningful crawl traffic; implement in robots.txt.liquid
08The one default rule you might legitimately remove

Remove the AhrefsBot disallow if you use Ahrefs

Shopify disallows AhrefsBot and AhrefsSiteAudit by default, which is a reasonable choice for stores that do not use the tool — Ahrefs crawls aggressively and generates real server load. However, if your SEO team relies on Ahrefs for site audits, technical health reports, and rank tracking, blocking their crawler means your Ahrefs data will be incomplete or inaccurate.

To remove this default block selectively in robots.txt.liquid, use a Liquid conditional: wrap the AhrefsBot group output in an unless condition so it is omitted from the rendered file. This is explicitly documented as a supported pattern in Shopify’s developer guides. It is the one default rule where removal has a clear, legitimate business justification. For deeper Ahrefs-to-Shopify workflow integration, see our post on the best Shopify SEO tools.

PricingFree (requires robots.txt.liquid edit)
ProsAllows Ahrefs to crawl your store, enabling accurate site audits, backlink data, and rank tracking
ConsMinor increase in crawl requests from Ahrefs' servers
VerdictRemove the AhrefsBot disallow only if your team actively uses Ahrefs for SEO auditing
09Extend coverage beyond the defaults

Add custom user-agent rules for Bingbot and DuckDuckBot

Shopify’s default robots.txt does not include specific rules for Bingbot or DuckDuckBot, which means they both inherit the catch-all User-agent: * rules. For most stores this is perfectly adequate. However, if you have sections of your store that you want to allow or disallow specifically for Bing (for example, if you run Microsoft Shopping campaigns and want to ensure Bingbot can access all product pages), adding a dedicated Bingbot group gives you that precision.

The syntax in robots.txt.liquid follows the same Liquid conditional pattern as other customizations. Use the group.user_agent.value == 'Bingbot' check to inject rules for that specific crawler. This customization is low-risk when done correctly, but unnecessary for the vast majority of Shopify stores. Focus on the higher-priority edits (tag pages, faceted navigation) before worrying about per-crawler tuning.

PricingFree (requires robots.txt.liquid setup)
ProsGives granular control over Bing and DuckDuckGo crawling; useful for stores targeting non-Google traffic
ConsAdds complexity; incorrect rules can block legitimate crawling from alternative search engines
VerdictAdd only when you have a specific need — most stores can ignore this entirely
10Almost never necessary — and potentially harmful

Use crawl-delay directives with extreme caution

Crawl-delay is a robots.txt directive that tells crawlers to wait a specified number of seconds between requests. It sounds like a useful tool for managing server load, but there is a critical caveat: Googlebot completely ignores the crawl-delay directive. It manages its own crawl rate based on server response times and signals from Google Search Console. A crawl-delay in your robots.txt will never slow down Google.

What crawl-delay does affect is secondary crawlers like Bingbot, Yandex, and other compliant bots. If your Shopify store is on a plan with constrained server resources and you are seeing response-time degradation during heavy crawl periods, a crawl-delay for specific non-Google agents can help. For most Shopify stores this is a non-issue — Shopify’s infrastructure handles crawl load well. If you do add a crawl-delay, set it within the specific user-agent group rather than the wildcard group, and test server response times in Search Console before and after. For a full technical SEO walkthrough see our Shopify technical SEO guide.

PricingFree (requires robots.txt.liquid setup)
ProsCan reduce server load from aggressive crawlers on high-volume stores with limited hosting resources
ConsGooglebot ignores crawl-delay entirely; adding it only slows down Bing and other secondary crawlers
VerdictOnly add crawl-delay for non-Google crawlers and only if server load is a documented problem

How to create and edit robots.txt.liquid in Shopify

Before making any edit, understand the workflow: you are not editing a static file. You are creating a Liquid template that Shopify merges with its own defaults at render time. This means the base rules stay current with Shopify’s platform updates, and your customizations sit on top.

Here is the exact process:

  1. 1Go to your Shopify Admin, then Online Store, then Themes.
  2. 2Click the … (three-dot) menu next to your live theme and select Edit code.
  3. 3Under the Templates section, look for robots.txt.liquid. If it does not exist, click Add new template and select robots.txt from the dropdown.
  4. 4Click Create template. Shopify will populate it with the default output wrapped in Liquid logic that preserves the auto-generated rules.
  5. 5Add your customizations using Liquid conditionals — for example, wrapping a new Disallow: line inside an if group.user_agent.value == '*' block so it only applies to the wildcard group.
  6. 6Click Save and immediately verify the output by visiting yourstore.com/robots.txt in an incognito browser window.
  7. 7If you want to revert to defaults entirely, return to the template list, right-click robots.txt.liquid, and select Delete permanently. Shopify will restore the auto-generated default immediately.

Important: back up your theme first

Always duplicate your theme before editing any template file. Go to Online Store, then Themes, then click the … menu on your live theme and select Duplicate. This gives you a one-click rollback if something goes wrong.

What does Shopify’s default robots.txt already block?

One of the most common mistakes merchants make is adding disallow rules for paths that Shopify already blocks by default. Before editing anything, check what the default file already covers. Here are the paths Shopify disallows for all crawlers in the wildcard group by default:

PathWhy it is blockedShould you change it?
/adminShopify admin panel — sensitive, no SEO valueNever
/cartShopping cart — dynamic, non-indexableNever
/ordersOrder confirmation pages — private customer dataNever
/checkoutsCheckout flow — transactional, no SEO valueNever
/checkoutCheckout URL — same as aboveNever
/cgi-binLegacy server path — not used by ShopifyLeave alone
/wp-login.phpWordPress login path — not applicable to Shopify but blocked defensivelyLeave alone
/accountCustomer account pages — private, not indexableLeave alone
/collections/*sort_by*Sorted collection views — duplicates of canonical collectionsLeave alone

Notice that Shopify does not block /search, /collections/*+* (tag pages), or filter parameter URLs by default. These are the gaps where a custom robots.txt.liquid edit adds the most value for stores with large catalogs.

James K.

James K.

Head of SEO
DTC Homewares Brand

★★★★★

We had over 800 tag-page URLs getting crawled and indexed. Ryze flagged the robots.txt gap, added the right disallow rules, and our crawl coverage on real product pages went up 40% within three weeks.”

+40%

Crawl coverage

3 weeks

Time to result

800+

Junk URLs blocked

How do you decide what to change in your Shopify robots.txt?

The decision framework is simple: start with the assumption that Shopify’s defaults are correct for your store, then look for specific evidence that a customization will help. There are three diagnostic questions to work through.

Decision 1

Are you wasting crawl budget on duplicate or low-value URLs?

  • Check Google Search Console’s Pages report for “Crawled - currently not indexed” — tag pages and faceted URLs appearing here signal crawl budget waste
  • Use Screaming Frog or a Shopify SEO audit tool to count how many /collections/*+* and ?filter URLs exist in your crawl
  • If those counts are in the hundreds, adding disallow rules for tag pages and filter parameters is the highest-ROI edit you can make to your robots.txt

Decision 2

Is a specific crawler causing server load or data accuracy problems?

  • If you use Ahrefs for SEO auditing and your site audit data is incomplete, remove the AhrefsBot disallow rule
  • If you are seeing unusual server load spikes from a specific bot user-agent in your server logs, add a targeted disallow or crawl-delay for that agent only
  • If you run Microsoft Shopping campaigns and want to verify Bingbot has full access to product pages, add a Bingbot group with explicit Allow rules for /products and /collections

Decision 3

Are you tempted to edit the core defaults — /admin, /checkout, or the adsbot-google group?

  • If yes: do not. There is no store configuration where allowing these paths provides an SEO benefit
  • Ignore any advice from forums or tools that suggests touching these rules unless it is from Shopify’s official documentation
  • If Search Console is flagging these paths as “Blocked by robots.txt” in a way that concerns you, that is expected behavior — they are intentionally blocked

The bottom line: for most Shopify stores, the only robots.txt change worth making is adding disallow rules for tag pages, filter parameters, and internal search URLs. Everything else — the core user-agent groups, the admin and checkout blocks, the sitemap directive — should be left exactly as Shopify generates it. If you are unsure whether a specific change is safe, test it on a duplicate theme first, verify the rendered output at yourstore.com/robots.txt, and monitor Search Console coverage for two to four weeks after any change. You can also use Ryze AI to automate this monitoring so issues are caught before they become ranking drops.

1,000+ marketers use Ryze

State Farm
Luca Faloni
Pepperfry
Jenni AI
Slim Chickens
Superpower

Automating hundreds of agencies

Speedy
Human
Motif
Broadplace
Directly
Caleyx
G2★★★★★4.9/5
TrustpilotTrustpilot rating

Frequently asked questions

Can I edit my Shopify robots.txt file?

Yes. Since mid-2021, Shopify has allowed custom overrides via a robots.txt.liquid template in your theme's code editor. You create the template under Online Store, then Themes, then Edit code, then Add new template. Shopify merges your customizations with its auto-generated defaults, so the base rules stay updated automatically.

What should I never change in Shopify's robots.txt?

Never remove or modify the Disallow rules for /admin, /checkout, /cart, /orders, and /checkouts. Never alter the adsbot-google user-agent group — this crawler ignores the wildcard group and needs its own rules to function correctly with Google Ads. And never replace the entire file with a static version, as you will lose Shopify's future automatic updates.

What is the most valuable robots.txt edit for most Shopify stores?

Blocking tag-filtered collection URLs using Disallow: /collections/*+* and blocking filter parameter URLs like Disallow: /*?filter and Disallow: /*?sort_by. These patterns generate hundreds or thousands of thin duplicate pages that waste crawl budget without providing any ranking value. This is the single highest-ROI robots.txt customization for stores with large catalogs.

How do I revert my Shopify robots.txt to default?

Simply delete the robots.txt.liquid file from your theme's template directory. Go to Online Store, then Themes, then Edit code, then right-click robots.txt.liquid and select Delete permanently. Shopify will immediately revert to its auto-generated default configuration with no further action required.

Does Shopify's robots.txt affect Google Shopping or ads?

Yes, indirectly. The adsbot-google group in Shopify's robots.txt controls what Google's ad-serving crawler can access. This crawler verifies landing page quality for Google Ads and Shopping campaigns. If you accidentally remove or misconfigure that group, you may see ad disapprovals or reduced ad serving. Leave the adsbot-google group exactly as Shopify sets it.

How do I know if my robots.txt changes are working?

Visit yourstore.com/robots.txt in an incognito window immediately after saving to verify the rendered output. Then check Google Search Console's Coverage report over the following two to four weeks — you should see the blocked URLs move from 'Crawled - currently not indexed' to 'Excluded by robots.txt'. You can also use Google's robots.txt tester in Search Console to test individual URL patterns against your rules before relying on live crawl data.

Fix your Shopify SEO automatically

robots.txt · crawl budget · free trial

Live results across
2,000+ clients

Paid Ads

Avg. client
ROAS
0x
Revenue
driven
$0M

SEO

Organic
visits driven
0M
Keywords
on page 1
48k+

Websites

Conversion
rate lift
+0%
Time
on site
+0%
Last updated: Jul 26, 2026
All systems ok
Ryze AI is a service operated by Meow AI, LLC. © 2026 Meow AI, LLC. All rights reserved.

Let AI
Run Your Ads

Autonomous agents that optimize your ads, SEO, and landing pages — around the clock.

Claude AIConnect Claude with
Google & Meta Ads in 1 click
>