Google是否会将具有隐藏div的页面编入索引? [英] Does google index pages with hidden divs?

查看:77
本文介绍了Google是否会将具有隐藏div的页面编入索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始重新设计和开发一个包含大量文本的网站,并且我正在考虑组织该网站上的信息以使其看起来更整洁的方法.在网站的某些部分上,我想实现一个jQuery切换效果,其中将某些内容放置在隐藏的div中,然后根据用户的onclick事件显示或隐藏该内容.

I am starting to redesign and develop a site that contains a lot of text and I am thinking of ways to organize the information on the site so that it looks cleaner. On some parts of the site I would like to implement a jquery toggle effect where some content is placed in a hidden div and that content will show or hide depending on a user's onclick event.

这种组织内容的技术会严重损害网站的SEO吗?谷歌会在什么时候开始将其视为垃圾邮件,并放弃将该网站编入索引?

Would this technique of organizing content greatly harm the SEO of the site? At what point would google start viewing this as spam and drop the site from being indexed all together?

//更新-找到了一些答案.

//Update - found some answers.

我想澄清一下,作为对以下某些答案的回应,隐藏div的目的是在出于组织目的而显示/隐藏内容之间进行切换,以便最终向用户显示任何隐藏文本.

I guess to clarify, as a response to some answers below, the purpose of the hidden divs would be to toggle between showing/hiding the content for organizational purpose where any hidden text would eventually be shown to the user.

但是,经过大量挖掘之后,来自Google的马特·卡茨几乎可以说,只要您不使用关键字来塞入隐藏的文本并尝试通过诱骗googlebot滥用系统,通常就可以了.他还给出了一个有趣的示例,说明关键字填充出现了错误.

However, after much digging around, Matt Cutts from google does pretty much say that as long as you are not keyword stuffing your hidden text and abusing the system by trying to trick the googlebot, you should generally be fine. He also gives a funny example of keyword stuffing gone wrong.

推荐答案

如果您出于SEO的原因隐藏/显示内容,则该索引将被编入索引,但Google可能会对此表示反对.换句话说,Google看到的应该是用户单击链接时看到的.

It will be indexed but can be frowned upon by Google if you are hiding/showing content for SEO reasons. In other words, what Google sees should be what the user sees when clicking the link.

这篇关于Google是否会将具有隐藏div的页面编入索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆