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>
Use of JavaScript |
Use of CSS |
Primary Keyword Layout
Pretty Sites v Spider Friendly Sites |
Correct use of Robots.txt File |
Dead Pages & 404 Not Found Errors |
Using Images for Primary Navigation
Correct Use of Home, Sitemap & Contact Page Links |
Use of Redirection Pages
Use of Small Type Fonts |
Should I use Hidden Doorway Pages?
Should I Use HTML Frames? |
Spider Friendly URL's
This article is copyright protected ©
White Hat Web Design have created the above article to help our web readers better understand the Internet and web applications, whilst we are happy for anyone to link back to this page, we will not accept any copying of its content or publication in any medium without written permission from White Hat Web Design.
Please link back using the URL http://www.white-hat-web-design.co.uk/articles/design-tips/javascript.php or contact us




