Friends, Technology, Web2.0 - What I am reading

    [Home] [Recent] [Site Map]

   

How to Fix the Bloated Code that is Jacking Up Your SEO

by Stoney deGeyter

There are a lot of little things that can junk up your code, but, for the most part, the search engines don"t really care. It doesn"t matter to them if your HTML validates or if you keep your code "clean" or not. When it comes to analyzing your pages for search engine rankings, none of that really matters a whole lot. But when it does matter, it matters a whole lot.

Here are some typical coding issues that can screw up your on-page optimization processes:

  1. Errors that prevent search engines from properly spidering your pages
  2. An extremely high code to content ratio
  3. Placement of content within the code structure
  4. Over-burdensome code creating longer-than-usual download time

These are pretty much simplifications of the complexities of how the search engine algorithms work but this will help us better understand the problems that arise from junking up your code. Let"s look at each of these individually.

Errors that prevent search engines from properly spidering your pages

I"m a huge proponent of using proper HTML markup and validating your code. No, there is no search engine ranking benefit from having valid code vs. invalid code. But some invalid code can cause problems with the search engines.

Browsers tend to be very forgiving of these kinds of coding errors but the search engines may not be. For example, if you forget to close your <head> tag the search engines may not take your body copy into consideration, not knowing that it"s actual content.

There are numerous coding errors that can essentially stop the spiders from grabbing, indexing and evaluating your copy properly. By using validated code you are 100% certain to eliminate these kinds of potential problems.

Should you worry about all the other little things, like making sure each image has an ALT attribute? I say yes. Not because those things will trip up the search engines but because by validating your code completely, it makes it easier to find new validation issues that may appear with re-designs and site changes. Such new errors can easily be hidden among the "acceptable" coding errors if they are not all attended to up front.

An extremely high code to content ratio

I"m not obsessive about code-to-content ratios but I do believe that if you have so much code on your pages that it makes it hard to dig out the content then you might have some issues. Especially when you have hundreds or thousands of lines of code with very little accommodating content.

I"m not suggesting the search engines won"t be able to parse the code and pull the content out, they will, but each engine has a limit as to how much data they will download per page. If they reach that point before finding your content then they won"t get the content at all.

For most sites this isn"t an issue as their pages are not large enough to reach that point. But many have reported that by simply reducing the code-to-content ratio on some sites they saw an immediate boost in rankings. This isn"t some magic SEO strategy, it"s just good web development.

I don"t believe that search engines are looking to reward sites that adhere to good development techniques, but I do think that eliminating excessive code can certainly help the more important elements of the site stand out a bit more prominently, and therefore get weighted as they should.

Placement of content within the code structure

There have been published patents from the search engines that show how they try to break down the code of a page to determine how it might be displayed in the browser. With this information, certain sections of the site can be weighted differently than others.

For example, the search engines can try to determine how much content is "above the fold" (what is visible on the screen before scrolling) vs. below the fold. There are some extreme limitations to this kind of analysis. The search engines don"t have a "screen size" so what is above the fold can vary from one visitor to the next. Also, it"s possible to use absolute placement using CSS. This can allow you to make things appear higher up on the page than they really are.

A good example of this is the Pole Position Marketing website. When you look at the code it the content is pretty much the first thing that appears just after the closing <head> tag. The top navigation actually comes close to last. Even when the site had a side navigation bar the same rule applied, all these elements were furthest down in the code leaving the content up near the top.

The search engines, looking to determine where certain elements are displayed, would come to the conclusion that the header is really the footer. We did this so as to push the content up higher in the code than it otherwise would have been. While this may give the search engines a false impression as to the on-page placement of the actual content, we are emphasizing the importance of the content over all.

Over-burdensome code creating longer-than-usual download time

Site"s with lots of extraneous code can become a burden. The search engines understand that if a users suffers from long download times they are more likely to bail on a site. If the engines determine that your code is causing longer-than-usual download times (and they would know... they are downloading your code too) then they are likely to score your page differently then they might an otherwise equal competitor.

For this reason alone it"s a good idea to keep your code as clean as possible. Eliminating excess tables, on page JavaScripts and CSS can all be contributors to bloating yoru code and decreasing download speed. In the next two parts of this series I"ll discuss these areas and show you how you can easily reduce excess coding to better site performance.


Want more from your web site?
Search Influence can help! Targeted Traffic. Increased Revenue. Results Guaranteed. Customized Internet Marketing you can afford.


>>Source Link
>>Blog: Search Engine Guide : Small Business Search Marketing
>>Publish Date: 6/27/2008 7:03:16 AM
>>Keywords: code your

Related Posts
>>Mapquest Offers Gas Pump Pricing and Locations #
    Mapquest now lets you find and compare gas prices in your city, state or zip code....
>>An Argument for Website Validation #
    I recently ran across a website for a local website development company and in the process of checking out their services and portfolio I noticed something peculiar: All the sites they developed use 1
>>Google Analytics Tracker Code Change and More #
    There is no specific immediate need to do this, but if you are using Google Analytics for your traffic tracking, Google asks you to update the tracker script from this (replace YOURNUMBER with your ID
>>Google"s Code Prettifier #
    Google released a neat client-side code prettifier. What you do is include their JavaScript and CSS files in your HTML page, trigger execution with an onload="prettyPrint()" event, and then find every
>> [2008-01-15]:webleon @ del.icio.us #
    75% of journalists use blogs for story ideasblogs are having a significant impact on journalist"s story ideas, angles and insights. YurboKeep your friends updated with this simple blog system! Snipplr
>>Control Your Title Tags in Blogger #
    It"s no secret that about the single most important on-page factor in terms of search engine rankings is your Title Tag. After all, it"s what humans often use to categorize your site, so why shouldn"t
>>Change AdSense Layouts Without Changing Snippet #
    Google just announced that over the next weeks they"ll be rolling out a change to AdSense which lets you change the ad layout without adjusting your included HTML/ JavaScript snippet. Google writes:
>>Mix07 Keynote Silverlight demo with source code #
    http://blogs.msdn.com/delay/archive/2007/05/01/the... Source code click here to download the complete source code for this demo application
>>Google AdSense for Mobile #
    Google has released their AdSense for Mobile program for a couple of countries now after testing it for some while*. To use this, log-in to AdSense, Google"s ads for webmasters program earning you mon
>>Public Launch of Google AdSense Referrals #
    Google has started to roll out their AdSense referral program (the one with non-Google products) to even more publishers, Search Engine Land reports. To see this, check your AdSense Setup -> Referr

Other Posts:
>>Puppy"s Picks - 06/18/08
>>There"s No Shortcut for Link Building: A Case for Relationship Building
>>Leave It to Harvard to Legitimize Us
>>Internal Linking, Nofollow and Link Blocking Strategies That Provide Maximum Impact On Your SEO Campaign
>>Puppy"s Picks - 06/17/08
>>The Glory of Absolute Linking (As Opposed to that Relative Linking Crap!)
>>Puppy"s Picks for 06/16/08
>>Website Architecture Questions Answered, Part VI
>>The Importance of Internal Linking, and How to Do it Right
>>Puppy"s Picks for 06/13/08
>>Yahoo!, Youtube and Your Underwear, Huh?
>>Everything You Need to Know About The Meta Keyword Tag


Month Archives:

Top Tags:
Google Internet Technology Company & Product Profiles Search feature Business and Technology Web2.0 column analysis 服务介绍 application comment letter 业界信息 news China2.0 Startups deal Search Headlines 產業策進 未來趨勢 創投 創業案例 widget Social Network 业界动态 Google/SEO news_in SEW Experts Web 2.0 News & Ideas


@2007 All rights Reserved