HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
noindex, noarchive for index page?
I installed the latest 2.1a33 to give it a test run. When examining the meta tags in header, I discovered that<link rel="canonical" href="http://example.com/discussions" /> <meta name="robots" content="noindex,noarchive" />
This is index page, but the meta tag for robots just comes as "noindex". Anyone has idea how this happen and how to resolve it?
I checked the index page vanillaforums.org, and it did not has the string.
0
Best Answer
-
peregrine MVP
and I quote from
applications/vanilla/controllers/class.discussionscontroller.php// We don't want search engines to index these pages because they can go in through the individual categories MUCH faster. if ($this->Head) $this->Head->AddTag('meta', array('name' => 'robots', 'content' => 'noindex,noarchive'));
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
and I quote from
applications/vanilla/controllers/class.discussionscontroller.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine Thank you so much. I tried to find this in dashboard controllers, but failed
@Lincoln this almost kill my site !
google and other search engines don't index my site any more !