Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

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.

Sign In or Register to comment.