Thread: robots.txt SEO
View Single Post
Old 03-31-2007, 12:43 AM   #3
mrapache
Newbie
 
Join Date: Feb 2007
Posts: 3
mrapache is on a distinguished road
Default Re: robots.txt SEO

Yeah you are correct.

Heres what I'm doing now to SEO WordPress



Code:
<?php if(is_single() || is_home()) { ?>
<meta name="googlebot" content="index,follow,noodp,noarchive" />
<meta name="robots" content="all,index,follow" />
<meta name="msnbot" content="all,index,follow" />
<?php } else { ?>
<meta name="googlebot" content="follow,noodp,noindex,noarchive" />
<meta name="robots" content="follow,noindex,noarchive,nocache" />
<meta name="msnbot" content="follow,noindex,noarchive,nocache" />
<?php }?>

And then my robots.txt is less restrictive than initially because we still want google to follow our pages, and they won't if its disallowed in robots.txt.
mrapache is offline   Reply With Quote