Tech Support, From $19

How Will Javascript Help With Search Engines?

Actually, javascript usually hurts your search engine rankings. This tutorial will show you how to minimize the negative effect of javascript on your search engine ranking and SEO.

Move the Javascript to an External File!

It is very simple once you know how, but this is the SEO Javascript Tutorial Secret, move your javascript code into an external file and link to it.

Simply place the following code in between your head tags, instead of placing the entire script in your header:
<script src="somescript.js" language="javascript" type="text/javascript"></script>

Of course you'll have to put all of your javascript into that somescript.js file, which is just an ordinary text file.

Also, you do not inlclude the <script> and </script> in the .js file. By the way, .js is a good naming convention, but is not required. You could really name it anything you want to.

Some, but only a very few functions need to be embedded inside the actual html document, most functions can be moved into an external file using the method above.