Hello Shopify Community,
I am trying to allow my legal pages (such as /policies/terms) to be indexed by customizing the robots.txt.liquid file in my published Shopify theme.
Here is the simplified version of my current file:
User-agent: *
Allow: /policies/
Allow: /checkouts/internal/preloads.js
Disallow: /checkouts/
Disallow: /checkout
Despite these settings, the live robots.txt at https://lalaloom.no/robots.txt still shows:
Disallow: /policies/
Disallow: /*/policies/
So Google continues to block those pages.
I have verified:
- The theme is published
- robots.txt.liquid is in the correct folder (templates/)
- The file saves correctly
I also spoke with Shopify Support who confirmed the file looks correct, but mentioned they could not escalate the issue as it involves code.
Can anyone from the community or staff clarify whether Shopify storefronts respect robots.txt.liquid reliably? Or is this a known limitation?
Thank you!
Ali
https://lalaloom.no
