robots.txt.liquid, theme metadata and apps
Distinguish variant, filter and tracking parameters based on their effect. Another parameter value can represent the same product page or an independent selection.
Compare the public robots.txt with existing adjustments in the robots.txt.liquid template. This template replaces the standard output; changes must not accidentally lose required standard rules. Meta-robots are created separately in HTML.
How to fix the issue in Shopify
- Examine an existing robots.txt.liquid and the robots meta tags issued in the theme or through apps separately. When customizing the robots file, do not adopt a complete third-party template that unintentionally removes platform rules.
- Distinguish tracking duplicates from distinct filtered results. Consolidate genuine duplicates to the clean URL; for filters, decide which combinations should be search destinations based on their content.
Start with one affected page or template. Check its output before applying the correction to other pages.
Example of this specific finding
Illustrative control case: /shoes/? color=red shows a purposefully maintained red shoe collection; /shoes/? utm_source=newsletter shows unchanged content. Both types of parameters require different decisions.
follow-up audit in Shopify
Before and after the adjustment, test the same desired and still excluded paths. Don’t confuse a crawl ban with removing an HTML noindex.
For each parameter function, specify whether a useful search entry is created. Adapt internal links, sitemap, canonical and, if applicable, exclusions to this decision.
How to verify that the fix worked
Test a tracking variant, a useful filter and an excluded combination separately. One global canonical or robots rule does not automatically suit all three cases.
Check whether a URL is indexable: Check HTTP status, robots directives and the canonical together. Technical indexability does not mean Google has indexed the URL.
Derogations and scope
Indexable parameters are not fundamentally flawed. A blanket block can exclude independent filter landing pages from the search.
Related: Shopify Online Store with Liquid-Theme. Hydrogen or other headless storefronts have their own rendering and hosting responsibilities.
Classify the general error
Definition, system-independent causes and further correction examples: Evaluate parameters by function