advertise with ongsono.com
 

JavaScript Optimization


JavaScript is a programming language that allows web designers to create dynamic content. However, itís also not necessarily SEO-friendly. In fact, JavaScript often completely halts a crawler from indexing a web site, and when that happens the result is lower search engine rankings or complete exclusion from ranking.

To overcome this, many web designers externalize any JavaScript thatís included on the web site. Externalizing the JavaScript creates a situation where it is actually run from an external location, such as a file on your web server. To externalize your JavaScript:

  1. Copy the code, beginning at the starting tags, and paste it into a Notepad file.
  2. Save the Notepad file as filename.js.
  3. Upload the file to your web server.
  4. Create a reference on your web page to the external JavaScript code. The reference should be placed where the JavaScript will appear and might look like this:
    <script language=”JavaScript” type=”text/javascript” src=”filename.js”></script>

This is just one of the solutions you can use to prevent JavaScript from becoming a problem for your SEO efforts. There are many others, and depending on your needs you should explore some of those

Related SEO Tips

The Secret of Domain Optimization
ongsono.com is not same as www.ongsono.com so that you have to make it same with redirection.

Header Optimization Tips
The header tags (H1, H2, H3 and so on) alert search engine spiders of the relevancy of the content that follows the heading tag.

The secret of Images Optimization
Since google can not read content in image, we have to optimize how we serve image, so that google know what is the images about