Google Answers Logo
View Question
 
Q: Search engine optimization advice please ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Search engine optimization advice please
Category: Computers > Internet
Asked by: wanting2know-ga
List Price: $40.00
Posted: 05 May 2004 12:20 PDT
Expires: 04 Jun 2004 12:20 PDT
Question ID: 341592
Given the following web site construction parameters, that:

1) navigation is rendered through <script language=JavaScript
src="filename.js" type=text/javascript></script> , and...
2) the links within "filename.js" are therefore within the js ,

which is the more effective adjustment in terms of search engine
optimization, and why:

A) to keep "filename.js" high up within the code because of its
inherent links, or...
B) to move the js below the page content, thereby pushing the site
text or other content higher within the code.

Thank you for your help.
Answer  
Subject: Re: Search engine optimization advice please
Answered By: aceresearcher-ga on 05 May 2004 13:39 PDT
Rated:4 out of 5 stars
 
Welcome back, wanting2know!

You are absolutely correct in thinking that placement of text vs
javascript can make a difference in how a search engine spider sees
your site.

When javascript is located at the beginning of the html code, this can
really hinder the ability of the Googlebot and other Search Engine
Spiders to fully access your text, and because the Googlebot assigns
importance to things based on where they appear on the page, putting
Javascript first on the page tells the Googlebot that your text isn't
as important.

What's more, even though you've wisely pulled your javascript out into
an "include" file, that include statement is still using up important
character space at the beginning of your html file. The first 250
characters or so are the most critical for the Googlebot and other
Search Engines, so you want to have as much real text content in there
as possible.

Because of this, you will want to put your include statements as far
down on your page as possible while still ensuring that the page works
properly.

Since many search engines, ***especially Google***, no longer still
use <meta> keywords to determine ranking (although keywords are still
examined in terms of validating that your site is about what you say
it's about), this also means that you will want to use some economy in
defining your meta tags.

Furthermore, many website developer tools like FrontPage like to
insert lots and lots of superfluous <meta> tags at the front of your
file, so if you use one of these tools I recommend going into your
file afterward using a simple editor like Notepad or Wordpad and
getting rid of the extraneous <meta> tags.

Similar to javascript, if you use style sheets, you will want to pull
out your Cascading Style Sheet (CSS) definitions into separate
included files, such as:

<link href="answers.css" rel="stylesheet">


Web Master World Administrator Tedster, in response to user joshie76's
question, "the top 60% [of my page] is javascript for the drop down
menus etc.
Is this (because it essentially moves the content further away from
the top of the document) likely to be effecting my ranking?":

"Yes, I'd say that much code will hurt you. It's not just the
javascript, but also inline styles and image map links. I see that
there are already some calls to external js files for some of your
javascript. You could also move the some of the css for the drop down
menus into external files (the div definitions, for example).

That javascript mouseover code is software generated. I'm sure that
there's a simpler way to get the same or very similar functionality.
Along these lines, it would be highly desirable for the links to be in
text, rather than image maps.

The little bit of true text you do have might be positioned absolutely
so you can move the HTML for it to the top of the BODY section. It's
got to carry the bulk of the weight for this page's rank, so making
sure the kws are in there matters a lot..."
http://www.webmasterworld.com/forum5/631.htm


Another technique is to put your most important content first and use
scripts, code, and/or style sheets to position all of your content the
way it should be viewed:

User alexjc, in a posting on the Forums at Web Master World:
"Place the most important components of your page first in the source,
and then use some simple DHTML/CSS/javascript to position them on the
screen. The advantages (appart from not using tables) are that you can
put your most important paragraph just after the <BODY> tag (this is
especially usefull if you want to have a menu on the left hand side),
hence scoring more in search engine ranking algorithms."
http://www.webmasterworld.com/forum23/111.htm?highlight=position+javascript+ranking

While Web Master World is now a subscription service (and in my
opinion, well worth it), there is a fair bit of the archived material
still available for non-members to peruse at
http://www.webmasterworld.com . I encourage you to check it out, if
you haven't previously done so.
 

Search Strategy

http://www.webmasterworld.com/help.cgi?cat=search


Search strings:

javascript include ranking

javascript position ranking


Before rating this Answer, if you have questions about the information
that I have presented, please post a Request for Clarification, and I
will be glad to see what I can do for you.

Regards,

aceresearcher
wanting2know-ga rated this answer:4 out of 5 stars
Great answer. Very timely and helpful. We appreciate your wonderful
service. It saves us hours--if not days.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy