Is javascript bad for SEO?

5 replies
  • WEB DESIGN
  • |
example if I have a pulldown horizontal menu, most of those seem to be coded in Java
They are very useful and user friendly , but does Google not like Java for SEO purposes? Does it See java?
#bad #javascript #seo
  • Profile picture of the author yukon
    Banned
    Is javascript bad for SEO?
    Not If you have links you don't want Google to follow.

    Javascript does serve a purpose for SEO.
    {{ DiscussionBoard.errors[5301574].message }}
  • Profile picture of the author shauncroun
    JavaScript is not search engine friendly. If you use JavaScript, you do not have to keep the contents of the Script tab in the side or client-useful links. Content and links can be crawled. Always keep your JavaScript code, because a separate file in the JavaScript code long. The size of this page will be different. If related to the GOOGLE search engine can not crawl JavaScript.
    {{ DiscussionBoard.errors[5322068].message }}
    • Profile picture of the author Renavon
      It's not JavaScript, it's how the coding is done. If the coding is good, it can be SEO friendly. You need to understand where to use Javascript and where to not.

      Always keep JavaScript in sepatate file and include it in your page.

      JavaScript can hide links from search engine, but that can be intentional or because of bad design.

      The key point is to use HTML for content and links. You will see extensive use of JavaScript in fly-out or mega menu. The best option is to use JQuery for this.
      {{ DiscussionBoard.errors[5328870].message }}
  • Profile picture of the author blahmartinblah
    If you're worried about it diluting other text on the page, you can also use googleoff/googleon tags around the code.

    Just google 'googleoff tag'

    (Works for Google only, and prevents the contained section of page code not to be indexed)
    {{ DiscussionBoard.errors[5330056].message }}
  • Profile picture of the author ernestrategos
    If the menus are inserted dynamically with javascript it's REAL BAD for SEO because 'on the fly' inserted content is not read by the google crawler, and the navigation specifically is important because that's how google makes sense of your website structure.

    BUT most menus are lists styled with css and spiced up with javascript, they are usually html lists, so I don't think you have a problem if you're using something decent, good luck.
    Signature
    {{ DiscussionBoard.errors[5400193].message }}

Trending Topics