How to hide policy sites from search engines

New Member
4 0 0

Hello,

 

I have a question in regards to hiding policy pages from search engines.

I have found, that you can hide pages from search engines (https://help.shopify.com/de/manual/promoting-marketing/seo/hide-a-page-from-search-engines), but if I understand it correctly the object handles only relate to product pages, right? (https://help.shopify.com/en/themes/liquid/basics/handle)

 

Or can I hide e.g. the legal notice page with:

{% if handle contains 'policies.legal-notice.content' %}
<meta name="robots" content="noindex">
{% endif %}

And for every other policy page I have to copy that and edit it with other object handles (e.g. 'policies.refund-policy.content')?

 

Sorry, but I could not find any solution for my problem on google or on the shopify forum.  

Thanks in advance.

0 Likes
Highlighted
New Member
4 0 0

bump

0 Likes
Highlighted
New Member
4 0 0

no one?

0 Likes
Highlighted
New Member
4 0 0

bump again

0 Likes