rel = nofollow子域

时间:2011-04-13 09:23:47

标签: seo robots.txt openx nofollow

我有一个用于广告的子域名。它已安装openx以提供广告。如何确保子域中的所有内容都被视为添加rel = nofollow,因为我不希望Google和其他搜索引擎认为我们认为广告值得关注。

1 个答案:

答案 0 :(得分:1)

您正在寻找 X-Robots-Tag HTTP标头

在子域服务器的.htaccess中

Header set X-Robots-Tag "nofollow"

请参阅google http://code.google.com/web/controlcrawlindex/docs/robots_meta_tag.html

似乎也得到了bing的支持http://www.bing.com/community/site_blogs/b/webmaster/archive/2009/08/21/prevent-a-bot-from-getting-lost-in-space-sem-101.aspx