Use of JavaScript or Other Unspiderable Code

If your website includes JavaScript code or other codes that prevent the Search
Engines Bot’s from spidering or blocking them from reading your pages then you
are limiting you acceptance and indexing by the search engines such as Google,
Yahoo, MSN
of all of your pages and content.

If you must use JavaScript try to use it sparingly or preferably not at all. Search
Engines cannot read JavaScript
and it is therefore impossible for
them to effectively ‘Read’ your pages and in many cases it
acts like a locked door to block a path to further pages on your site.

If you really
want to use JavaScript you can safely use it by putting the code into
a separate JS file and you can load it into the page with a single line
of code between your – <head> and </head> tags within your web
page.

The code used within your <head> section should look like:
<script language="javascript" type="text/javascript" src="replace-with-JavaScript-file-name.js"></script>

Posted by admin on Wednesday, October 28th, 2009