Forum Moderators: open

Message Too Old, No Replies

JavaScript Menu

Search Engine Optimization, Java script menu

         

rakesh mosaic

9:49 am on Jul 7, 2005 (gmt 0)

10+ Year Member



I have a Javascript menu for my website...

Now I have been told that having lotta code in the very beginning of your file can stop the google or SEs to index your website. For, the indexing softwares are made such that if they have to wade thru lotta code, they just skip out of the webpage.

So, I need to know where exactly I need to put all my script code so as to present the Google Bot with my SEO content rather then my heavy scripting code as a welcome gesture...

Pls any help is appreciated.

Thanks in advance

garann

11:12 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



Not sure I'm following, but you could put it in an external file and import it with something like this:

<script type="text/javascript" src="menuScript.js" />

That cleans up your pages AND gives browsers the opportunity to cache you script so your site loads faster.

Dijkgraaf

11:51 pm on Jul 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Also if all your navigation is via JavaScript menus, make a site map with direct links to the pages you want indexed, and provide a link from your main page to the site map.