Shopify disallows policies from robots.txt

Shopify disallows policies from robots.txt

AngeloCore
Visitor
2 0 0

Hello, I don't understand why Shopify prevents any "robots" from accessing the store policies? As we can see here:

AngeloCore_0-1680632151285.png

 

How can I remove policies from disallow list? I want my customers to find my terms when they search in google.

 

Replies 3 (3)

Jolt-Rob
Shopify Partner
29 6 6

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.

JoltRob_0-1680636402082.png

 

Jolt - Build A Professional Blog In Minutes Using AI

Create professional blog articles and images in seconds. Improve SEO, engagement, and reputation for FREE.

AngeloCore
Visitor
2 0 0

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.

herastore
Excursionist
21 1 4

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"