How to optimize java script code for better ranking

7 replies
  • SEO
  • |
Hi Guys,

Suppose I am using java script code "<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>" for better branding in our website then will I need to optimize it for seo better keyword ranking in Google search engine. if yes then what is process for optimization.
#code #java #optimize #ranking #script
  • Profile picture of the author yukon
    Banned
    Your question doesn't make sense considering javascript has nothing to do with branding.
    {{ DiscussionBoard.errors[9123726].message }}
  • Profile picture of the author Aaditya321
    my means here if we used java script code then make good picture which that impressed to website branding.
    {{ DiscussionBoard.errors[9123738].message }}
  • Profile picture of the author nettiapina
    Are you talking about ranking or branding?

    You're apparently already using the minified version of the jQuery library so that's about as optimized as it gets. It's also possible to combine all the Javascript to save HTTP requests to the server, but I would not recommend that technique unless you know what you're doing. I've gotten at least a minor complication on almost every site I've tried it on. Easy to solve, but only if you know what you're doing.

    Sorry, I don't really understand what you're saying in the comments. You want a slider to improve the branding on the site? Adding external files will somewhat slow the site down, but if you choose well-known components and don't add too many slides it's usually not going to kill the performance.
    Signature
    Links in signature will not help your SEO. Not on this site, and not on any other forum.
    Who told me this? An ex Google web spam engineer.

    What's your excuse?
    {{ DiscussionBoard.errors[9123769].message }}
  • Profile picture of the author Aaditya321
    I want to improve my keywords ranking on The Google not branding issues here. please let me know how to improve our ranking if we are using java script code.
    {{ DiscussionBoard.errors[9123783].message }}
    • Profile picture of the author JasonYoung
      Originally Posted by Aaditya321 View Post

      I want to improve my keywords ranking on The Google not branding issues here. please let me know how to improve our ranking if we are using java script code.
      Since Google doesn't (yet) read JavaScript code, you need to disable JavaScript in your browser and go to your website and make sure everything works fine and looks good even without javascript. If it does, you're fine. JavaScript and jQuery should be used for user experience improvement, but everything needs to work even without JavaScript.

      Hope it helps.
      {{ DiscussionBoard.errors[9123946].message }}
    • Profile picture of the author nettiapina
      Originally Posted by Aaditya321 View Post

      I want to improve my keywords ranking on The Google not branding issues here. please let me know how to improve our ranking if we are using java script code.
      Very large portion of modern sites are using some Javascript code. This is not an issue for most of them, and probably it's not an issue for you. Javascript has very little to do with SEO, and it has nothing to do with improving rankings.

      Why are you asking about this in the first place? Did someone tell you that there's something from with your site?
      Signature
      Links in signature will not help your SEO. Not on this site, and not on any other forum.
      Who told me this? An ex Google web spam engineer.

      What's your excuse?
      {{ DiscussionBoard.errors[9124016].message }}
  • Profile picture of the author JasonYoung
    The only way JavaScript can affect your Google rankings is if your website is not fully working without JavaScript. As long as you can navigate through the site and get to all content without JavaScript it's all good.
    {{ DiscussionBoard.errors[9124455].message }}

Trending Topics