CSS下拉菜单和SEO [英] CSS drop-down menu and SEO

查看:114
本文介绍了CSS下拉菜单和SEO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是多层次的CSS下拉式选单,用于搜寻引擎最佳化(SEO)。

are multi-level CSS drop-down menus a big 'no-no' for SEO purposes.

我已阅读混合评论。有人说,辅助导航中的链接将不会被搜索引擎蜘蛛抓取(因为它们是隐藏的),而另一方说它是HTML的一部分,所以蜘蛛会看到它。

i've read mixed reviews. some say the links in the secondary navigation will not be crawled by search-engine spiders (because they're hidden) while the other say it is part of the HTML, so the spider will 'see' it.

任何想法?感谢

推荐答案

只要Google不发布其索引方法,我们就不会确定。但我非常怀疑蜘蛛会忽略链接,因为他们在隐藏的元素。文本和关键字,是的。但链接?不,在我的经验,所有机器人都贪婪索引尽可能多的互联网,因为他们可以。

As long as Google doesn't publish their indexing methods, we will never know for sure. But I very much doubt spiders will ignore links because they are in hidden elements. Text and keywords, yes. But links? No. In my experience, all bots are greedy to index as much of the internet as they can.

如果你想确实,考虑有一个第二个菜单从不隐藏,并显示当前页面的邻居链接。也许将当前类别的所有链接作为页脚中的小链接。这样,您可以确保每个链接将显示在从另一个页面的级别1链接可访问的某些页面上。

If you want to make really sure, consider having a second menu that is never hidden, and that shows the current page's "neighbor" links. Maybe have all the links of the current category as small links in the footer. That way, you can be sure every link will be visible on some page that is reachable from a level-1 link from another page.

其实,我认为我已经看到了网站这样做,即使他们有下拉菜单。也许这是原因。

Actually, I think I have seen sites doing that even though they had drop-down menus. Maybe that's the reason.

这篇关于CSS下拉菜单和SEO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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