10
Apr

How to make SEO friendly JavaScript Link Navigation?

Site navigation is a very important part of the presentation and making site more seo friendly. Mostly webmaster recommends to makes site navigation link simple by using html language. But if you want to use drop down menu, sub menu in the site navigation link then mostly designers use javascript language for creating site navigation link. As search engine spiders get some difficulty to read the javascript link so it is not useful for the view of SEO.

Now there rises a question that how we can make site navigation SEO friendly having Javascript. By using Ajax (Asynchronous JavaScript and XML) technology you can assemble html link with the javascirpt and give your link format as that of a static html ink as well as calling a javascript function. That way you’ll have the Ajax functionality for JavaScript users, while non-JavaScript users can ignore the script and follow the link. For example:

<a href=”category.html?product=16” onClick=”navigate(’ category.html#product=16′); return false”> product=16</a>

Here you can make it as static link URL by using a parameter (?product=16) rather than using a fragment ( #product=16) which is used by the Ajax code. As search engine spiders can read the parameters instead of fragments so we can present site with a search engine friendly URL.

1 Comment

LEAVE A COMMENT

Comments RSS Feed   TrackBack URL