Optimizing a JavaScript Site for Search Engines - Keyword Density, Navigation, Link Strategies
(Page 4 of 9 )
4. Keyword Density
Keyword density is the ratio of keywords in a web page divided by all the words in the page; both text and code alike. The more of your code, text, and content that is written in JavaScript, the less density your keywords will have. If you have several hundred “words” of JavaScript code in a page, the keyword density is going to be much lower, just like your overall text to code ratio was. That means that some search engines will decide that your page is less relevant, and not return your page in the process of a search query due to your low keyword density.
5. Navigation
Many webmasters with websites written in JavaScript incorporate navigation links into JavaScript as well. Since search engines do not read JavaScript, then it will not be able to follow the internal navigation of the site. While rollover effects are cool, it simply is not necessary to use search engine unfriendly JavaScript for this.
6. Link Strategies
Links that are written in JavaScript might have great anchor text, but if it is unreadable by a search engine, then it makes absolutely no difference whatsoever what your anchor text is, or even how it relates to your content and keywords.
Next: Functionality and Optimization >>
More Search Optimization Articles
More By Jennifer Sullivan Cassidy