Blog pages are being noindexed

Solved
Daniel71
Tourist
8 2 0

Our blog pages are not being indexed by Google. Upon inspection we are finding the following code inside the content_for_header block:

 
<meta name="robots" content="noindex,nofollow">
 
How can we stop this from appearing?
Accepted Solution (1)
Daniel71
Tourist
8 2 0

This is an accepted solution.

It turns out that the developer who had created the blog page had created a metafield (namespace = "seo", key="hidden", value=1) to mark it as noindex during the development period, and hadn't undone that when we went live. Once that metafield was deleted from the blog, the meta tag was removed from the Shopify-generated HTML.

View solution in original post

Replies 5 (5)
sophiedooley54
Tourist
22 0 3

first.. change that robot.txt into follow and index

generate sitemap for all pages of website

submit it to webmaster 

your pages will be crawled and indexed soon

Daniel71
Tourist
8 2 0

Unfortunately, this is code being written into the web page by Shopify - not entries in robots.txt.

Daniel71
Tourist
8 2 0

This is an accepted solution.

It turns out that the developer who had created the blog page had created a metafield (namespace = "seo", key="hidden", value=1) to mark it as noindex during the development period, and hadn't undone that when we went live. Once that metafield was deleted from the blog, the meta tag was removed from the Shopify-generated HTML.

acycooly
New Member
2 0 0

Hi could you please tell me how it was solved i have the same problem 

 
Googlebot smartphone
Crawl allowed?
Yes
Page fetch
Successful
Indexing allowed?
No: 'noindex' detected in 'robots' meta tag
Daniel71
Tourist
8 2 0

We just removed the metafield. In our case, the problem was self-inflicted. If you are having the same problem, and don't have the metafield, then I don't know what you should do.