Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello, I don't understand why Shopify prevents any "robots" from accessing the store policies? As we can see here:
How can I remove policies from disallow list? I want my customers to find my terms when they search in google.
I'm not sure why they disallow the policies page by default, but you can edit your site's robots.txt by going to Online Store > Clicking the menu next to customize > Selecting 'Edit Code' > then adding a new template and selecting robots.txt. You can then edit the file however you'd like.
Create professional blog articles and images in seconds. Improve SEO, engagement, and reputation for FREE.
Yep I searched that up, but I dont understand what exactly should I edit? I am a developer my self and I don't want to remove shopify's default robot.txt content.
Hey, probably you sorted this out already, but still, here's an example that tells you exactly how to remove that policies rule from the robots.txt:
https://shopify.dev/docs/themes/seo/robots-txt
1. Follow instructions in "Requirements", to create the robots.txt.liquid file
2. Follow instructions in "Remove a default rule from an existing groupAnchor"