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

Should I hide the content inside the cookies law compliance banner from search engines?

· 52CE 我爱测

I am working on my first website.I am working on the last steps before deploying it. Now I am facing the law compliance requirements. Right now it is mandatory by GDPR to show the cookies compliance banner to users so they can se…

问题原文

原帖链接 · Raikish · CC BY-SA 4.0

I am working on my first website.I am working on the last steps before deploying it. Now I am facing the law compliance requirements.

Right now it is mandatory by GDPR to show the cookies compliance banner to users so they can see how my company uses their data. Does all this content, all this HTML, affects my SEO? Should I mark it as an Aside HTML section? Can I somehow tell the crawler to skip this part of the page? What is the common way to deal with this problem?

已采纳解答

原帖链接 · GDVS · CC BY-SA 4.0

It's fine, there's no need to hide it. Google knows these things need to exist, and having one will not hurt your SEO. Indeed, many large sites, e.g., Android and Google themselves, don't hide their consent pop-ups.

John Mueller from Google has spoken about this (as well as related concerns around penalties for intrusive popups and interstitials) at some length. In summary, his only real concern is that the underlying page content remains indexable.

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

资料来源与适用范围

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

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

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