如何创建谷歌的权限哪些页面不索引

时间:2015-01-20 21:20:29

标签: html security

我想知道如何才能在我的网页上创建权限,直到Google无法将这些网页编入索引? 例如我的网站管理页面

2 个答案:

答案 0 :(得分:1)

您可以使用网站根目录下的robots.txt文件告知Google不要将特定目录编入索引:http://www.robotstxt.org/robotstxt.html

示例robots.txt:

User-agent: *
Disallow: /directory-to-noindex/

答案 1 :(得分:1)

您可以使用Robots.txt文件来执行此操作。当然,有些人认为它不能完美地做到这一点;但值得研究。

另外,阅读这些文章:

https://support.google.com/news/publisher/answer/68331?hl=en

https://support.google.com/webmasters/answer/6062608?hl=en

http://www.wikihow.com/Block-Google-Bot