Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google crawl -- display:none & display:block [closed]

When google crawls a web page , do google bot crawl

  1. content with code like style="display:none"

  2. content with code like style="display:block"

the question i am asking because i have a website of F&Qs.

  1. For user i want answers to be displayed only when he clicks on "answer/solution" link.

  2. For google bot i want solution section to be crawled else my content of page becomes too less.

like image 968
chicharito Avatar asked Sep 18 '12 18:09

chicharito


1 Answers

Yes google will see content that is both display none and display block

Your FAQ section will be seen by google bots.

See these articles:

Webmaster Guidelines: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35769

Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.

Hidden text and links: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=66353

Hiding text or links in your content can cause your site to be perceived as untrustworthy since it presents information to search engines differently than to visitors. ... If you do find hidden text or links on your site, either remove them or, if they are relevant for your site's visitors, make them easily viewable.

like image 114
zamnuts Avatar answered Sep 17 '22 15:09

zamnuts