Solved

Hide Shopify Collection from Google Search

Alexander_Waino
Excursionist
18 0 2

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
Navigator
426 72 127

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!


PageFly - #1 Page Builder for Shopify merchants.


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

View solution in original post

Replies 3 (3)

Alexander_Waino
Excursionist
18 0 2

Screenshot 2024-03-26 at 18.29.55.png

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

Sam_ian
Shopify Partner
63 3 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
Navigator
426 72 127

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!


PageFly - #1 Page Builder for Shopify merchants.


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