Does google index pages with hidden divs?

前端 未结 8 929
甜味超标
甜味超标 2020-12-02 20:42

I am starting to redesign and develop a site that contains a lot of text and I am thinking of ways to organize the information on the site so that it looks cleaner. On some

相关标签:
8条回答
  • 2020-12-02 21:09

    As long as the hidden content is relevant to the page it should not appear to be spam.

    I have put hidden text on pages, toggled visible text and when using a graphic for a heading I have a CSS hidden H1 heading for Google.

    0 讨论(0)
  • 2020-12-02 21:20

    It will be indexed but can be frowned upon by Google if you are hiding/showing content for SEO reasons. In other words, what Google sees should be what the user sees when clicking the link.

    0 讨论(0)
  • 2020-12-02 21:21

    I wouldn't hide it. If people don't want to read it they can skip over. When I've hidden text it doesn't seem to be seen by the Googlebot as well as text within regular html.

    0 讨论(0)
  • 2020-12-02 21:22

    The best and satisfactory result, i found here.

    Hidden text and links Hiding text or links in your content to manipulate Google’s search rankings can be seen as deceptive and is a violation of Google’s Webmaster Guidelines. Text (such as excessive keywords) can be hidden in several ways, including:

    Using white text on a white background Locating text behind an image Using CSS to position text off-screen Setting the font size to 0 Hiding a link by only linking one small character—for example, a hyphen in the middle of a paragraph When evaluating your site to see if it includes hidden text or links, look for anything that's not easily viewable by visitors of your site. Are any text or links there solely for search engines rather than visitors?

    However, not all hidden text is considered deceptive. For example, if your site includes technologies that search engines have difficulty accessing, like JavaScript, images, or Flash files, using descriptive text for these items can improve the accessibility of your site. Remember that many human visitors using screen readers, mobile browsers, browsers without plug-ins, and slow connections will not be able to view that content either and will benefit from the descriptive text as well. You can test your site’s accessibility by turning off JavaScript, Flash, and images in your browser, or by using a text-only browser such as Lynx. Some tips on making your site accessible include:

    https://support.google.com/webmasters/answer/66353?hl=en

    0 讨论(0)
  • 2020-12-02 21:33

    It's definitely OK, as I've done it many times without any SEO penalties.

    0 讨论(0)
  • 2020-12-02 21:34

    perhaps hiding your content is bad for SEO, but maybe you dont have to hide it.

    Instead of using "display:hidden" just use creative positioning.

    place your "hidden" content say 7680 pixels off the screen using "left: 7680px" or "margin-top: -7680px"

    Then use your java script to change the positioning of the content as you wish.

    0 讨论(0)
提交回复
热议问题