就搜索引擎优化而言,下拉菜单并不是“隐藏”的。如果下拉菜单以标准 HTML 呈现,则任何机器人都能够“看到”它。现在,如果您使用 Javascript 创建下拉菜单,那就是另一回事了 - 大多数机器人当前不执行 Javascript。从搜索引擎优化的角度来看,您可能只想确保下拉菜单中使用的关键字适合您的网站和您的目标受众。如果不是,那么您可能需要考虑在 Javascript 中呈现下拉列表。希望这有帮助
drop down menus are not "hidden" in terms of SEO. If the drop down menu is rendered in standard HTML then any bot will be able to "see" it. Now, if you are using Javascript to create your drop down menu, that is a different story - most bots don't currently execute Javascript. From an SEO perspective, you may just want to make sure that the keywords you use in your drop down menu are appropriate for your site and the audience you are targeting. If they are not, then you may want to consider rendering the dropdown in Javascript. Hope this helps
我假设您正在谈论 CSS 驱动的下拉菜单?不用担心,它们对 SEO 友好,无论如何显示,都会被视为正常的静态链接。
然而,Javascript 是否真的对 SEO 友好还没有定论。我已经做过实验,结果确实是成功或失败,所以我不能确定。
I'm assuming you're talking about CSS driven drop down menus? Don't worry, they are SEO friendly and will be treated as normal static links regardless of how they are displayed.
Javascript however hasn't been conclusive whether it is really SEO friendly or not. I've had my experiments and it is really hit or miss so I can't really say for sure.
It is best to keep things simple. Search engines still do not read JavaScript very well. If your site navigation is based on JavaScript, it will be difficult to get all of your pages indexed. If the decorative drops down type menus are important to you, always provide a back up of plain text links. I suggest you should make a site map for google crawler bot.
It is a known issue for the Google bot to potentially confuse drop down menus with hidden links - particularly if the code is something like:
< div id="menu1" style="visibility: hidden;">< a href="">Home< /a >< /div>
Its an AI complete problem to detect if that kind of code is designed to trick or not, so there will always be occasional issues. However, any popular menu is likely to be ok as someone else would have filed a reconsideration request if there was a noticeable issue. Also remember that there are many trust factors, so the effect may be subtle.
发布评论
评论(5)
就搜索引擎优化而言,下拉菜单并不是“隐藏”的。如果下拉菜单以标准 HTML 呈现,则任何机器人都能够“看到”它。现在,如果您使用 Javascript 创建下拉菜单,那就是另一回事了 - 大多数机器人当前不执行 Javascript。从搜索引擎优化的角度来看,您可能只想确保下拉菜单中使用的关键字适合您的网站和您的目标受众。如果不是,那么您可能需要考虑在 Javascript 中呈现下拉列表。希望这有帮助
drop down menus are not "hidden" in terms of SEO. If the drop down menu is rendered in standard HTML then any bot will be able to "see" it. Now, if you are using Javascript to create your drop down menu, that is a different story - most bots don't currently execute Javascript. From an SEO perspective, you may just want to make sure that the keywords you use in your drop down menu are appropriate for your site and the audience you are targeting. If they are not, then you may want to consider rendering the dropdown in Javascript. Hope this helps
我假设您正在谈论 CSS 驱动的下拉菜单?不用担心,它们对 SEO 友好,无论如何显示,都会被视为正常的静态链接。
然而,Javascript 是否真的对 SEO 友好还没有定论。我已经做过实验,结果确实是成功或失败,所以我不能确定。
I'm assuming you're talking about CSS driven drop down menus? Don't worry, they are SEO friendly and will be treated as normal static links regardless of how they are displayed.
Javascript however hasn't been conclusive whether it is really SEO friendly or not. I've had my experiments and it is really hit or miss so I can't really say for sure.
最好让事情保持简单。搜索引擎仍然不能很好地读取 JavaScript。如果您的网站导航基于 JavaScript,则很难将所有页面编入索引。如果装饰性下拉式菜单对您很重要,请始终提供纯文本链接的备份。我建议你应该为谷歌爬虫机器人制作一个站点地图。
It is best to keep things simple. Search engines still do not read JavaScript very well. If your site navigation is based on JavaScript, it will be difficult to get all of your pages indexed. If the decorative drops down type menus are important to you, always provide a back up of plain text links. I suggest you should make a site map for google crawler bot.
查看您的页面源。如果您的下拉菜单是标准 HTML,其中包含
标记指定的链接,那么就可以了。
如果您使用 Javascript 生成菜单/链接,Google 可能找不到链接。如果您使用
Look at your page source. If your drop down menu is standard HTML with the links specified by
<a href="...">
tags, then it's fine.Google may not find the links if you use Javascript to generate the menu/links. Same goes if you use a
<select>
element, which I've seen a lot.Google 机器人可能会混淆下拉菜单与隐藏链接,这是一个已知问题 - 特别是如果代码如下:
检测此类代码是否旨在欺骗是一个完整的人工智能问题,因此总会有是偶尔出现的问题。
然而,任何受欢迎的菜单都可能没问题,因为如果存在明显的问题,其他人会提出重新考虑请求。还要记住,存在很多信任因素,因此影响可能是微妙的。
It is a known issue for the Google bot to potentially confuse drop down menus with hidden links - particularly if the code is something like:
Its an AI complete problem to detect if that kind of code is designed to trick or not, so there will always be occasional issues.
However, any popular menu is likely to be ok as someone else would have filed a reconsideration request if there was a noticeable issue. Also remember that there are many trust factors, so the effect may be subtle.