2011-12-07 48 views
1

我有一些我不希望Google索引的文章。我已经在文章的后端元数据设置中将设置设置为noindex nofollow。但是,即使文章本身并没有显示它的pdf版本。在Google搜索结果中显示为PDF的Joomla文章

有关如何防止它们被索引的想法?

回答

0

你有拖的选择:

禁用PDF按钮将文章 - >配置按钮,并查找PDF选项按钮。

改变位于你的Joomla安装目录的根文件夹和.htaccess文件添加以下行:

User-agent: Googlebot 
Disallow: /index.php?view=article*&format=pdf 
Disallow: /index.php?view=article*&print=1* 
Disallow: /index.php?option=com_mailto* 
Disallow: /component/mailto/* 

User-agent: Slurp 
Disallow: /index.php?view=article*&format=pdf 
Disallow: /index.php?view=article*&print=1* 
Disallow: /index.php?option=com_mailto* 
Disallow: /component/mailto/* 

宽度的其中一个选项,你必须解决的问题,后者也摆脱重复的内容从发送到朋友选项和打印视图。

请注意,改变Google或其他漫游器为您的网站编制索引的方式需要一些时间。

Regards

0

取决于pdf文件的存储位置。您可以使用robots.txt file来排除pdf文件所在的文件夹。您还可以将rel="nofollow"添加到PDF文件的链接。

阅读一些链接:

+0

但我没有任何pdf文章本身在搜索结果中显示为pdf。我在Bing搜索中看到这种情况发生 – Neil

+0

您可以在bing中发布这些搜索结果中的一个链接吗? –

+0

http://www.bing.com/search?q=erin+hoesly+thomson+reuters+resources&go=&qs=n&sk=&form=QBLH – Neil