Weird url adding in google search console

Topic summary

Shopify store owners are encountering URLs with parameters like pr_prod_strat=collection_fallback and pr_seq=uniform being indexed by Google Search Console, creating thousands of unwanted pages. These URLs are generated by Shopify’s product recommendation system, which appends tracking parameters to product links.

Root Cause:
The parameters appear in product card links within theme files (commonly product-card.liquid or card-product.liquid), allowing crawlers to index each variation as a separate page—harmful for SEO.

Proposed Solutions:

  • Prevent URL Generation: Modify theme files by changing {{ product.url }} to {{ product.url | split: "?" | first }} to strip parameters from links
  • Block Indexing: Add noindex meta tags in theme.liquid using conditions like {% if handle contains 'seq=uniform' %}
  • Robots.txt Rules: Disallow crawling with Disallow: /products/*?pr=*

Ongoing Challenges:

Some users report solutions don’t fully work or continue seeing indexed URLs. One concern: removing parameters may disable Shopify’s recommendation optimization. A related mobile-specific cart crash issue involving similar URL parameters remains unresolved. The discussion remains active with users testing various code implementations and awaiting long-term results from Google Search Console.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Great!! So, the codes to insert are:

In theme.liquid (to do noindex):

{%- if canonical_url=“*seq=uniform” -%}

{%- endif -%}

{% if handle contains ‘seq=uniform’ %}

{% endif %}

In robots.txt (to block crawler):

{%- if group.user_agent.value == ‘’ -%}
{{ 'Disallow: /products/
?pr=*’ }}
{%- endif -%}

4 Likes