Hiding your Shopify pages from Search engines

ByAdam

Hiding your Shopify pages from Search engines

Search engines crawl the internet search of new data. When you site is being crawled, your store’s robots.txt file blocks page content, which reduces the effectiveness of your SEO strategy by stealing PageRank.

The robots.txt file is automatically generated by your online stre. You can view by appending “/robots.txt” to your store’s primary domain name.

Although the content of your store’s robots.txt file can’t be edited, you can still be aware of the content that it blocks from search engines. The robots.txt file also disallows the check out, orders, and admin page. Therefore, you can hide pages that are not included in your robots.txt file by updating the <head> section of your store’s theme.liquid layout file. You will need a small bit of code to disallow certain pages from being indexed.

  1. Tap menu> Edit HTML/CSS
  2. Click the liquid layout file
  3. Apply the following code in the <head> section to exclude the search template:

  1. If you want to exclude a specific page, add the following code in the <head> section:

You need to ensure that the page-handle-you-want-to-exclude is replaced with correct page handle

  1. Tap Save

That’s all about hiding pages from search engines. If you want more tutorials about Shopify, let’s visit our website.

Thanks for reading!

About the author

Adam administrator

Leave a Reply