I don't know if this really helps to prevent from bots, but ...
this plugin adds <meta http-equiv="ROBOTS" content="NOINDEX,NOFOLLOW> to the html <head> section.
this plugin adds <meta http-equiv="robots" content="noindex,nofollow" /> to the html <head> section.
Actually, the correct syntax would be
<meta http-equiv="robots" content="noindex,nofollow" />
We appreciate your contribution, but it doesn't make much sense imo to accomplish this by using a plugin. Recommended way would be editing themes/yourtheme/template.html using a plain text editor and adding above mentioned piece of code right after the {META} token.
Quote from: m@rk on January 30, 2007, 03:21:10 AM
I don't know if this really helps to prevent from bots
It will keep "good" bots away that play by the rules (e.g. the spiders from google, M$), but it won't have an impact on "bad" spiders like email harvesters.
It's even easier (and allows a more granular control) to specify more detailed rules for robots/spiders by creating a robots.txt. All "good" spiders/bots that play by the rules will read robots.txt.
Ok, thanks for clearing up.
I put this in a plugin, so you don't have to modify all templates separately, if you allow your gallery users to switch templates for example.
Now the plugin with the corrected syntax is attached.
Good for start m@rk ;)
I'm sure that you can code much better plugin next time