What's your biggest current challenge? Have your say in Community Polls along the right column.

Hide Shopify Collection from Google Search

Solved

Hide Shopify Collection from Google Search

Alexander_Waino
Excursionist
18 0 4

Hi Community, 

Today I have a little challenge. I want to remove the visibility of the collection page from Google search. A long search did not provide a satisfactory answer. I would be very grateful for your help!

Accepted Solution (1)

PageFly-Garcia
Shopify Partner
497 80 137

This is an accepted solution.

Hi @Alexander_Waino You can try this way:

  1. From your Shopify admin, go to Online Store > Themes
  2. Find the theme you want to edit, click the  button to open the actions menu, and then click Edit code.
  3. Click the theme.liquid layout file.
  4. Paste the following code in the <head> section.
{% if handle contains 'page-handle-you-want-to-exclude' %}
<meta name="robots" content="noindex">
{% endif %}

For more details, you can check with Shopify Help center and hope it helps you a bit.

 

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.


View solution in original post

Replies 3 (3)

Alexander_Waino
Excursionist
18 0 4

Screenshot 2024-03-26 at 18.29.55.png

 The name of the page is https://www.themushroomelixir.de/ 

Sam_ian
Shopify Partner
63 4 11

 

Create collections "hidden"
hide collection.png
 
 
Your COFFEE TIP! Can Create something incredible!
Require Assistance with google Analytics?
EMAIL ME!
Solved? accept it as solution with like

PageFly-Garcia
Shopify Partner
497 80 137

This is an accepted solution.

Hi @Alexander_Waino You can try this way:

  1. From your Shopify admin, go to Online Store > Themes
  2. Find the theme you want to edit, click the  button to open the actions menu, and then click Edit code.
  3. Click the theme.liquid layout file.
  4. Paste the following code in the <head> section.
{% if handle contains 'page-handle-you-want-to-exclude' %}
<meta name="robots" content="noindex">
{% endif %}

For more details, you can check with Shopify Help center and hope it helps you a bit.

 

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.