Seo.hidden no longer adds noindex

I recently noticed that seo.hidden product metafield no longer adds noindex <meta name="robots" content="noindex"> metafield on product pages and only excludes the page from the sitemap: Screenshot by Lightshot

Do we have another metafield for this use case ? It was really useful.

Hi @elilip

It still works correctly for me, testing on live shops that has used this feature for a long time. Also on the Product resource.

Be sure to use the integer datatype and 0/1 as fake boolean values.

1 Like

That worked! It was working before with single_line_text_field, but integer now did the trick. Thank you!

1 Like

Did not even know it ever worked with other data types. Mostly annoying it does not work with Boolean :laughing:

1 Like

Completely agree. A bit inconsistent. single_line_text_field works for sitemaps, but not for noindex, nofollow. Integer works for both while It should be boolean :grimacing:

1 Like

Seems like a bug if the single_line_text_field used to work. Atleast it should either work for both sitemap and robots tag – or none of them.