Javascript and SEO 


Site Design




 

Javascript

Javascript is not evil in and of itself, despite what you may hear from some so called SEO experts. You can create some great features for your users using javascript. You can also make your own life easier by using some of the powerful features that the language has to offer. Unfortunately, the Search Engine Crawlers will ignore your cool javascript completely. The trick here is to leave the crawlers a method of successfully navigating and viewing your site without the use of javascript.

Crawlers and Javascript

They'll ignore it....completely. What crawlers do is follow HTML links and analyze what they find at the other end. They don't understand javascript, so don't employ it where you want them to be able to follow. So it's perfectly ok to employ a cool javascript menu system as long as you also allow the crawlers to do their job. A site map (see the SEOKnowHow SiteMap) might come in handy for this purpose.

You can also employ plain HTML links within the content of your pages (like the link to the sitemap above) to allow the crawlwers to traverse your site.