How Do I Prevent My Store From Indexing On Any Search Engines?

24 0 3

I see this help page:

Is there a way to apply code to the entire store and all its pages and images?

Is there anything else I can do above and beyond this?

Thank you

Replies 5 (5)

21 1 3

Hello dwassner,

Like that tutorial says, putting that code  on step 4 into the <head> on your index file will block and indexing bots to all pages except for the ones in the robots.txt file.

Another solution would be to password protect your store. Doing this will only allow search engines to index the login page. You can find more instructions on that here.

WGM | 7+ Years Shopify Experience
-If my answer was helpful click Like to let me know!
-Did I answer your question? Mark it as an Accepted Solution

Shopify Partner
3012 181 485

Dear @dwassner 


Put this code between the head section (before </head>

 <meta name="robots" content="noindex" /> 


24 0 3

Thank you,

I have placed the code as you have said in the theme.liquid file, along with the layouthub.liquid file. The layouthub one is for a page creation app that I have installed. The homepage is not using a custom made page with this app.

As I continue to check the site with this tool, it continues to state that it is accessible by bots:

My site is:

24 0 3

I'm still having no success with this - every site that has a free tool to confirm that googlebot is allowed to index says that it is being permitted...


Can anyone offer any suggestions?

Shopify Partner
42 2 10

You can try to enable password protection, Shopify will add all URLs in private mode, Google cannot crawl your website:

  1. From your Shopify admin, you go to Online Store > Preferences.

  2. Scroll to the Password protection area, and check Enable password.

  3. In Password, enter the password that you'll give to the customers who you want to be able to access your online store. Don't use the same password that you use to log into your admin.

  4. In Message for your visitors, enter the message that you want to show on the password page. If you don't want to show a message, then leave this field blank.

  5. Click Save.