frostschutz / MyBB-Google-SEO

Search Engine Optimization plugin for MyBB.
https://community.mybb.com/thread-202483.html
GNU General Public License v3.0
30 stars 25 forks source link

meta noindex non-canonicals #8

Closed frostschutz closed 13 years ago

frostschutz commented 14 years ago

Add a noindex tag to pages that are not canonical as an additional hint to google that it should not index anything that is not its canonical name. Some research is necessary as to whether that would actually be useful. In theory the canonical tag alone should be sufficient.

frostschutz commented 13 years ago

Rejected because noindex would prevent Google from following to the canonical page.

( source: http://www.google.com/support/forum/p/Webmasters/thread?tid=79b4544fb7e1cb3c&hl=en )

Even if Google could handle it, other bots probably won't, so it's a bad idea in any case.

azamet90 commented 4 years ago

i was not able to find how to disable this noindex on xml? please help me about it. i just put # on # @header('X-Robots-Tag: noindex'); which was on line 129 "sitemap.php" is this the correct way?