: Do links hidden by display:none still pass PageRank I read through the comments and answers to both How bad is it to use display: none in CSS? and Is hidden content (display: none;) -indexed-
I read through the comments and answers to both
How bad is it to use display: none in CSS? and
Is hidden content (display: none;) -indexed- by search engines?, but I couldn't see anything related to links.
If I have a menu load up as Display:None and then show it via JavaScript later will those links in the menu get crawled? Is there an impact on PageRank?
It seems as if the answer is yes, it sees them and crawls them and there is no effect on rank flowing through the hidden links... I just can't seem to find a definitive answer.
More posts by @Merenda212
3 Comments
Sorted by latest first Latest Oldest Best
More than likely these links will get crawled and be treated like other links on your site (assuming that you don't nofollow them). However, be sure you are are clear on Google's guidelines around hidden text (see support.google.com/webmasters/answer/66353). One thing I've learned the hard way related to this is that you you want to make sure Google can access your CSS and JavaScript files (don't block those files via your robots.txt).
Now, all that said, I wouldn't count on Google finding all the pages on your site just because they are in the menu (this is true whether the menu has display:none or not). Make sure the pages are available via links elsewhere on the site, including in the XML sitemap. That way if Google for some reason does not see the display:none links (or, if Google chooses to ignore those links), those pages will still get crawled and indexed (assuming all else being okay with your site of course).
Yes, they pass PageRank. Content hidden with display:none is not special in any way unless it is used to manipulate the search rankings (which is something else altogether). Those links will be crawled and evaluated the same as links that are visible when the page loads.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.