Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I stop robots from blocking my entire website?

How can I stop robots from blocking my entire website?

Barakodistiling
New Member
6 0 0

Please help!

I recently crawled my site and to my horror discovered the entire site isn't being indexed. I was able to find the code that's doing the blocking in the header. From my 0 understanding of code it looks like its somehow connected to the customer login (?) I have attached below the liquid code. Can someone please explain what i need to do to remove it without compromising the site.robots block.png

Replies 10 (10)

Ujjaval
Shopify Partner
1242 197 213
<meta name="robots" content="noindex" />

Add above meta tag into theme.liquid file within header tag .

Hope your issue will be solve by using this tag . If you have any issue so , feel free to ask.


Thank you !

Barakodistiling
New Member
6 0 0

@Ujjavaldoesnt this still block my pages from being searched? I want all the pages on my site to be indexible.. I want to know how to remove this code without creating any issues for the site, if it needs to be replaced with an alternate or if it can just be out right deleted.

Ujjaval
Shopify Partner
1242 197 213

@Barakodistiling  Remove that Robot meta tag into the wlm-head.liquid file and put above code into your theme.liquid file in header section.

Barakodistiling
New Member
6 0 0

@Ujjaval I want my site to be indexible, using this code it still isnt indexed..

Ujjaval
Shopify Partner
1242 197 213

@Barakodistiling  Then put that code into theme.liquid file into head section and removed from here that robot meta tag then and then it will be work otherwise it will create indexing issue .

Barakodistiling
New Member
6 0 0

Barakodistiling_0-1668594795264.png

Im not sure that i understand your instructions, please take a look though i do not think it is correct still as the site pages are still not being indexed.

 

Ujjaval
Shopify Partner
1242 197 213

@Barakodistiling  Can you put that meta tag below of the viewport meta tag ... cause in mine site it's working . 

Barakodistiling
New Member
6 0 0

Barakodistiling_0-1668652463947.png

 

Barakodistiling
New Member
6 0 0

Barakodistiling_0-1668657080448.png

 

 

Ujjaval
Shopify Partner
1242 197 213