Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey everyone,
So today we've setup a private collection, only accessible for people with an account and a certain tag.
This is all working fine. But i'm finding out that the products in this private collection are findable on google.
The theme we use is "Label"
And this is the custom code for the private collection:
{%if customer.tags contains "shop"%}
{% section "main-collection" %}
{%else%}
{{ pages.no-access.content }}
{%endif%}
The idea is that shops can acces this "wholesale" page but these products should be in no way findable for regular costumers.
Would be very happy if someone out there could help me find a solution to this!
Solved! Go to the solution
This is an accepted solution.
Hi,
Shopify offers a solution for this:
https://help.shopify.com/en/manual/promoting-marketing/seo/hide-a-page-from-search-engines
In short, you have to edit your website`s robots.txt file.
This is an accepted solution.
Hi,
Shopify offers a solution for this:
https://help.shopify.com/en/manual/promoting-marketing/seo/hide-a-page-from-search-engines
In short, you have to edit your website`s robots.txt file.
Just a quick note: on most Shopify stores your products will still be visible via at the /collections/all/products.json endpoint (as well as some other endpoints), so don't assume the products are completely invisible.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025