Remove "noindex" robots property

Hi! I need to remove the value of property "content" in meta robots because Google Search Console detects a problem with this, and i don't know where file is that code.

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

I use the Bitter Sweet theme and a Vanilla 3.3 version.

Thanks!

Tagged:

Comments

  • What page do you have the noindex tag? Some pages you do not want indexed. Like the registration page eg

  • Hi @ianw5555 ! In the categories page

  • It should not be there right enough, can you post exact the URL so I can check?

  • Thanks @ianw5555 i found that in the class.categoriescontroller.php file.

  • charrondevcharrondev Developer Lead (PHP, JS) Montreal Vanilla Staff

    @ianw5555 that only appears if the category is archived. I'd recommend not archiving the category if you want it to be indexed. If you don't want users to post there anymore, but still want it indexed, you can just adjust the permissions on the category.

  • What if your categories aren't archived (they never were) but Google says they are and they are showing up as noindex? Weird.

Sign In or Register to comment.