drop down menu and seo [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question"Hidden links and contents are开发者_StackOverflow社区 not good for seo". Whether drop down menu affects seo. If yes any perfect solution for drop down menu with seo perspective?
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
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.
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.
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.
精彩评论