Solved

Hide a page from search engines

SKRASTS
Excursionist
23 0 4

How can I hide certain pages from search engines?

Accepted Solution (1)

PaulNewton
Shopify Partner
6274 572 1311

This is an accepted solution.

You can either use liquid to render a meta tag to no-index on those pages, use the seo.hidden metafield method or the more complex edting of robots.txt

 

 

And or also hide it in sitemaps

https://community.shopify.com/c/technical-q-a/exclude-pages-from-site-map-xml/m-p/1153980 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


View solution in original post

Replies 5 (5)

PaulNewton
Shopify Partner
6274 572 1311

This is an accepted solution.

You can either use liquid to render a meta tag to no-index on those pages, use the seo.hidden metafield method or the more complex edting of robots.txt

 

 

And or also hide it in sitemaps

https://community.shopify.com/c/technical-q-a/exclude-pages-from-site-map-xml/m-p/1153980 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


SKRASTS
Excursionist
23 0 4

Thank you. I ended up using this tutorial and created and edited a robots.txt file. It was really easy!

 

https://www.youtube.com/watch?v=sSpud67rBIk

marissa28
Tourist
4 0 5

FOUND A MUCH EASIER SOLUTION NO CODING NEEDED -  download search and discovery app by shopify - under  settings remove all boxes checked besides "products"  so easy to select what you want showing up under my sites search - i only wanted products not pages. 🙂  this will hide all pages though. 

sarahrsc
Shopify Partner
2 0 1

I was so pleased to find this solution! It was driving me mad! Thanks @marissa28 

BitMan
Visitor
1 0 1

Does this only work for the internal search in the website?

If i toggle off "pages", will it hide pages from google/bing search? I do not want google to index my pages, atleast most of them that is.

That's what I really want, as I don't want to mess with the robots.txt file.