django/djangoproject.com
在 GitHub 查看Use noindex meta tag or header, not robots.txt, to block untranslated docs pages
Open
#877 创建于 2019年3月2日
good first issue
仓库指标
- Star
- (2,001 star)
- PR 合并指标
- (平均合并 7天 20小时) (30 天内合并 25 个 PR)
描述
As far as I can tell, we're currently using robots.txt to block untranslated docs pages from being indexed by Google. Looking through Search Console, it appears that is not the correct approach and these pages are still being indexed:
That warning links to: https://support.google.com/webmasters/answer/7440203#indexed_though_blocked_by_robots_txt
Which suggests using the noindex meta tag or header instead: https://support.google.com/webmasters/answer/93710