Menu

#75 Interface to set dynamically the ROBOTS attributes

open
nobody
5
2010-05-04
2010-05-04
No

Interface to set dynamically the ROBOTS attributes.

What I mean is a Web Interface to control the HTML attributes relative to the Web Robots (Crawlers, Spiders, etc):
Index/Noindex, Cache/Nocache, Archive/NoArchive, Follow/Nofollow

A brainstorm using a pseudo-code:

If $module = "" then robots == "index, follow"; // HOME
If $module = "Legacy" then robots == "noindex, nofollow"; // Someting to the system modules
If $module = "Profile" then robots == "noindex, follow"; //
If $module = "Forum" and $UserPosts < 16 then robots == "nofollow, Noindex"; // to avoid spammers (just a poor example, better if defined as rel=nofollow, like: if user.posts < 10 then url.rel = "nofollow"; // define rel="nofollow" to new users trying to promote links).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB