Spy on Your Competitors - Extended Free Trial!  GO!
How to Hide a Page From Search Engines on Shopify

How to Hide a Page From Search Engines on Shopify

Last modified: December 3, 2021

FAQ
Shopify Trial

Search engines are designed to look at websites and record every page and index it in their database. Then when a user types in a query, that database is used to find the best results for the customer based on several factors. Some say there are more than 200 factors that can determine the placement of a page on a search query. And there are many things that you can do to improve the position of any page you want to rank on Google. You can also use apps like SEO Booster or other SEO apps here.

However, there are times when you might not want the search engines to rank a page on your website. There are numerous reasons for this. For instance, you might have an offer that you don’t want to be found by accident and only want the page open to those who enter the URL or click on a link that you send them. This could be a competition page or a special offer page for loyal customers.

Or you could have pages that are now out-of-date for new customers, but existing customers might find them useful (technical documents for discontinued white goods for example).

Here are the instructions on how you can hide a page from search engines on Shopify.

Recommended: 14 Best SEO Apps For Shopify

# Name Image
Shopify
Shopify
More Info
1
SEO Booster ‑ SEO Marketing
SEO Booster ‑ SEO Marketing
More Info
2
Shopify SEO Suite by AVADA
Shopify SEO Suite by AVADA
More Info
3
Plug In SEO
Plug In SEO
More Info
4
SEO Manager
SEO Manager
More Info
5
SEO Doctor
SEO Doctor
More Info
6
Ultra SEO
Ultra SEO
More Info
7
Smart SEO
Smart SEO
More Info
8
ReloadSEO
ReloadSEO
More Info
9
SEOMetriks Marketing Tools
SEOMetriks Marketing Tools
More Info
10
SEO Image Optimizer
SEO Image Optimizer
More Info
11
JSON-LD for SEO
JSON-LD for SEO
More Info
12
SEO Expert Pro
SEO Expert Pro
More Info
13
SEO Images All-In-One SEO
SEO Images All-In-One SEO
More Info
14
SEO Assistant by Buymaxx
SEO Assistant by Buymaxx
More Info
Show More
Click here for more information about 14 Best SEO Apps For Shopify.

Step 1 – Log In

The first step is to log into your Shopify store, using your user credentials.

Step 2 – Themes

From the main menu, you need to click on the ‘Online Store’ option and then find the ‘Themes’ option that is there. Click on this.

Step 3 – Edit Code

Find the theme that you’re using and then click on the ‘Actions’ button that is next to it. From the list there, choose the ‘Edit Code’ option.

Step 4 – Theme.liquid

You will see a list of options that are on the next page. You need to open the first section that reads ‘layout’ and then you need to select the theme.liquid file.

Step 5 – Hide Code Insertion

Now if you don’t want to show your search template on search engines you need to copy the code here and paste it within the ‘hide’ section.

{% if template contains ‘search’ %}
<meta name=’robots’ content=’noindex’>
{% endif %}

Step 6 – Code for Specific Page

If you want to hide a specific page from search tools, for example, a demo product page or a special offer page that you want to just have email subscribers see, then you should add this code to the ‘head’ section within the theme.liquid. Remember to replace the example-1 with the correct page handle that you wish to hide.

{% if handle contains ‘example-1’ %}
<meta name=’robots’ content=’noindex’>
{% endif %}

Final Word: How to Hide a Page From Search Engines on Shopify

While you want your website to rank high on Google, there are times when certain pages don’t want to be ranked at all. These could be demo pages. Use the above steps to hide elements of your website from Google with ease.

Recap:
Read More
Got Something To Say?

Your email address will not be published. Required fields are marked *

Free Trial