大网数据广告活动
网站运营与故障问答

Is it good practice to block crawling of a website's privacy policy with robots.txt?

· 52CE 我爱测

I'm not sure whether I should add my website's privacy policy to my robots.txt file or not. I want to follow good SEO practice. I have no reason to hide my privacy policy. Arguments against: I want to be visible and not seen to b…

问题原文

原帖链接 · keith · CC BY-SA 3.0

I'm not sure whether I should add my website's privacy policy to my robots.txt file or not. I want to follow good SEO practice. I have no reason to hide my privacy policy.

Arguments against: I want to be visible and not seen to be hiding legal pages. It's unlikely, but some users might genuinely want to find it in a search engine.

Arguments for: solicitors/lawyers tend to reuse these documents so the text I've been supplied may not be unique. The page isn't really one that's important for people to land on from a search engine.

Any advice?

已采纳解答

原帖链接 · termsfeed · CC BY-SA 3.0

Your arguments against not blocking the indexing of these legal pages are valid. Matt Cuts did a video about this very topic here in 2009:

https://www.youtube.com/watch?v=unEML5n5vTo

While it's not a clear "yes" or "no" from Google, the second important question to ask is "are these pages important to my users?". If yes, Google needs to find them.

Based on our research we've written about this topic on our blog, we find that these are common legal pages. Google knows that these policies are required by law, that the legal pages are not content-rich and that you're most likely to have similar content as other websites on these pages.

If you do decide to block these pages from being indexed, use meta robots tag instead of the robots.txt:

<meta name="robots" content="noindex, nofollow" />

Any error in the robots.txt might get your entire website unindexed by Google. The meta robots tag is the safe option to manage this.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-12-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。