Untidy desks

You’re looking for a vital document, and you have less than eight minutes to find it

You know it’s on your desk; you saw it there only a few days ago. Except your desk is covered with piles of papers, unopened envelopes and bills, discarded printouts, not to mention yesterday’s coffee cups. You keep rifling through all the clutter, but it’s hopeless. With all that junk on your desk, you know you’ll never find what you are looking for.

Is your website’s code a little like your desk?

Just a second. What do I mean by your website’s code? You didn’t use code to create your site, you used a web editing program, or a site builder that came with your hosting, right?

Every website is built using code

It doesn’t matter what you built your site with, or who built it. If you used a site builder program or a website editor, all that program did was create the code for you based on what you told the program you wanted your site to look like. This code runs in the background, and tells your website visitor’s internet browser how to display the page.

So where is this code, and what does it look like?

To have a peek behind the scenes, just open your internet browser, go to the top menu, click View, then View Source. A window will open. That’s your website’s code.

Does it really matter if things are messy behind the scenes?

Surely it’s what the front-end looks like that’s important? When many website editors (often called WYSIWYG, or What You See Is What You Get) or online site builders create the code for you according to the way you lay the page out in the editor (which works a little like a word processing program), they usually generate messy and inefficient code, full of errors and repetitions.

The result is a page that takes much longer to load

A bloated page full of unnecessary code can double or triple the page size, or more. Google now takes into account page loading speed when ranking websites. This is only one factor of many that Google uses to evaluate your site, but with all other things being equal, a faster-loading page with fewer errors will rank higher in the search engines than a slower one with bloated code.

But, perhaps more importantly, bloated, junky code makes it difficult for the search engines to find and understand your content

Search engines regularly send out “spiders” – robots – out onto the internet to “crawl” through everything they find, then report back to the engine so all the information and content can be indexed and ranked. When the friendly neighbourhood spider comes knocking on your door, he will find a jumble of clutter instead of nicely organised content all laid out for him to inspect. He’ll have to clamber over a load of junk to try to find the content hidden under all the mess and, just like your untidy desk, important things will be hidden and lost.
He may even give up looking and move on to the next site. Having a nice, clean, organised code running behind your page makes the Google spiders happy, because they can easily find and understand the content they are looking for.

So how can you tell if your code is a mess?

Messy code isn’t hard to spot. Take a look at these two examples:

Example 1

Example 2

When you look at your website’s source code, does it look ordered, with the content clearly visible and easy to pick out (example 2)? Or is it just a big jumble, with the same code repeated over and and over again (example 1)?

The secret to sparkling clean code

Forget WYSIWYG editors, online site builders and the rest. For the cleanest code, try running your site on Wordpress. It’s easy to update and edit, you don’t need to know how to write a single line of code, and the code it generates is so spare and clean you could eat your dinner off it (as long as you make sure to use a well-crafted theme like Thesis, you don’t copy/paste text from Word into the Wordpress editor, which will introduce lots of junk code, and don’t overload the site with too many widgets). Take the images above: Example 2 was built with Wordpress. Example 1 is a site built with an online “site builder” that came free with some hosting.

What if you don’t want rebuild your site from scratch?

Try cleaning up your existing code using a free online code validator. This tool will check your site for errors, and clean up the code for you.
If you want to learn more about what exactly causes bloated code, here is an excellent article on how to clean up after WYSIWYG editors.

Remember: the search engine spiders can’t see the monitor like you can

They can’t see how pretty your site looks or how cool your graphics are. They can only read the code behind the page, so remember to keep the back rooms spick and span so Google can find what it’s looking for when it comes to visit. Your desk can wait until tomorrow. :-)

Summary

  • Your website is built on code that lies behind the page and tells the browser what to display to visitors
  • Search engines need the code to be clean and tidy so they can find the content they are searching for and index your pages correctly
  • Bloated, messy code also makes your pages load more slowly, which also affects search engine rankings
  • WYSIWYG editors and site builders create reaaally messy, bloated code
  • Wordpress websites have spick and span code and are easy to update.

Creative Commons License photo credit: henry…

If you haven't already, subscribe to our email updates. Just enter your name and email here.

{ Comments on this entry are closed }

If You Could Change Things In The Translation Industry, Would You?

March 27, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/if-you-could-change-things-would-you/’,size:’large’}
On February 23, a petition was launched by a small group of freelance translators, mainly based in Italy with the title “A Translators’ Petition Against Proz.com’s Job Policies“.
844 translators signed in support, with the exception of a few, who signed to say they thought the petition was a bad [...]

Read the full article →

The Power of “You”

February 27, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/benefits-based-writing/’,size:’large’} No, not YOU.
Them.
Your clients. The people reading your website, email signature, cover letter, brochure. In other words, your marketing materials.
What exactly is this “benefits” based writing we keep hearing about? Benefits, not features, benefits, not features: it’s like a mantra spouted by marketing experts the world over.
But what does [...]

Read the full article →

5 Ways To Fix Translation Website Mistakes

February 4, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/5-ways-to-fix-translation-website-mistakes/’,size:’large’} In a previous post, I discussed some of the common mistakes translators make with their professional websites (and yes, the sharper-eyed among you will notice that I only came up with 13, not 17 mistakes as the headline promised. I’m a translator, a “words” sort of person. I don’t [...]

Read the full article →

Importance Of The “Description” Meta Tag – Not What You Might Think

January 29, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/importance-of-the-description-meta-tag-not-what-you-might-think/’,size:’large’} The description meta tag. Ever give it much thought?
It’s important – but not for the reasons you might think.
The meta description tag is placed in the “head” section of the html of your website, and looks something like this:
<META NAME=”Description” CONTENT=”informative description here”>
You can’t see this description when you look [...]

Read the full article →

What Is Branding And What Does It Have To Do With Me?

January 26, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/what-is-branding/’,size:’large’} Branding. Brrr.
What a horrible word.
It seems to conjure up images of corporate board meetings with lots of suits braying about “strategic assets” and how they can leverage “core competencies”. The word seems to have acquired a meaninglessness that has absolutely nothing to do with freelance business.
Or has it? Just [...]

Read the full article →

Translation Rates – To Publish Or Not To Publish?

January 25, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/translation-rate-publish-or-not-publish/’,size:’large’}
photo credit: TheTruthAbout…
I’ve always thought it best not to publish rates online. Better to invite a contact first, a request for a quote. Then contact has been established and a working relationship can be nurtured, right?
Well, I’m in the process of changing my mind. Here are some of [...]

Read the full article →

Research Shows 97% Of Clients Base Service-Buying Decisions On Service Provider’s Website

January 23, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/research-shows-97-of-clients-base-service-buying-decisions-on-service-providers-website/’,size:’large’}
Some staggering results of research carried out recently and published on Raintoday.com shows that an amazing 97% of service buyers base their decisions on the service provider’s website, further confirming just how important a website or blog is for any freelancer’s business (source: Raintoday, How Clients Buy 2009 Benchmark [...]

Read the full article →

17 Mistakes Translators Make With Their Websites

January 23, 2010

var fbShare = {url: ‘http://internetmarketingfortranslators.com/17-mistakes-translators-make-with-their-websites/’,size:’large’} 1. Focusing on yourself, not the visitor.
Copywriting experts have been telling us for decades: focus on the benefits for the visitor, not the features of your services. Studies have shown that less than 1% of website visitors visit the “About Us” page. People simply don’t care how wonderful you [...]

Read the full article →