News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Robot content noindex vs all help please

Started by DrBermant, January 02, 2011, 03:29:51 AM

Previous topic - Next topic

DrBermant

In index.template.php there is a bit of code that confuses me.

<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
   <meta name="robots" content="noindex" />', '

Is this code there to stop robots from indexing the forum or what?

Is there any harm in replacing with:

<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
   <meta name="robots" content="all" />

Although i do want the robots to parse and index the forum, I certainly do not want them where they do not belong.

Any help appreciated,

Michael Bermant, M.D.
Board Certified
American Board Plastic Surgery
Plastic Surgery Encyclopedia
A Body Beautiful Plastic Surgery Forum

tumbleweed

personally I believe the index.template.php is already setup to keep bots out of were they do not belong as well as letting bots in were they do belong. Further Bot directions should always be added in .htaccess file

http://www.javascriptkit.com/howto/htaccess.shtml
G.C. SOLUTIONS - Hosting Quality Sites Since 2006. Experience Your Forums On A Whole New Level
Elastic Sites Stress Fast CPU/Ram Upgrades- More Info Here.
Reviews By SMF Forum Owners - Read Our Rev

DrBermant

Thank you, I converted back to original.

Michael Bermant, M.D.
Board Certified
American Board Plastic Surgery
Plastic Surgery Encyclopedia
A Body Beautiful Plastic Surgery Forum

 
Advertisement: