Send us your brief

Canonical Domains, HTTPS, and Sundry Malarkey of a Geek Nature

Paul Carpenter 8th December 2008
Paul Carpenter

We’re doing some work for The Yorkshire Linen Company. (normally I wouldn’t be so crass as to mention their name, but I have a special reason for doing so that I’ll get round to in a minute). Because we’re clever, we’ve found an unusual technical side-effect of their website set-up that is harming their Google rankings. It’s an illustration of unintended consequences but also a textbook case of measures you can take to protect your website revenues from the capriciousness of Google’s algorithms. It also shows why you need ongoing specialist support to capture and fix the kind of problems that frankly many web companies couldn’t even explain (hint hint!).

The problem started in an unexpected way: the taking of online orders. Normally, if you sign up to an online payment provider such as Protx or Worldpay the actual taking of credit card details happens on their server rather than yours.

If you’re watching carefully next time you’re buying something online, you might notice that the last steps of your purchase take place on https://www.protx.com, rather than http://www.mikesgreatshoes.com where you started out buying your patent leather fetish shoes. The reasons for this are boring and technical but crucially relate to the security of your transaction.

Increasingly, these payment providers are offering you the opportunity to carry out the payments on your own server. However, to do this you need a secure certificate. This sounds like a piece of paper, but is actually a digital certificate that demonstrates that your server scrambles up any data it holds in such a way that prevents anyone from hacking in and getting your credit card details. It also comes with a ’paper trail’ that means that any fraud that does occur can be traced back somewhere. When you see a website address beginning with HTTPS, that means it is on a secure server.

All boring and abstract enough, until this latter method was enacted on Yorkshire Linen. Rather unexpectedly, this gave Google the opportunity to index the pages of the site on both the HTTP and HTTPS version of the site. So the duvet covers were normally available at http://www.yorkshirelinen.com/show-products/2/, but Google was able to access the same page alive and well at https://www.yorkshirelinen.com/show-products/2/. It’s like finding an identical twin of the main website.

And this gives Google a problem: which version of the page to keep in its index?

For Whatever Reason (and I personally can’t think of anything reasonable) Google busily went through more or less the entire website, added the secure version of every page to its index and removed the normal URL. Whoops!

Now Google has what is known as a ’canonical’ domain for every website. We own various versions of our own domain, such as www.ninexb.com, www.firecrestonline.com and so on, but our canonical domain is 9xb.com. Occasionally, Google finds that it can index a page on one of the other domains we hold, and when that happens it loses all the power of our main domain. And when that happens, that page loses much of its ranking potential.

So all of a sudden, that mean that a few of the keywords the Yorkshire Linen company were ranking for have momentarily vanished. Great!

So what can you do about it?

Firstly, a large part of YLC’s online sales actually come from their extremely well optimised Google product feed. Thanks to this, sales remain bouyant despite this momentary glitch in their regular organic SEO performance. This means the Yorkshire Linen Company are protected to a degree from the vagaries of such technical matters.

Secondly, we’re letting Google know that the HTTPS version of the site is not canonical. Any visitor to any page on the site that shouldn’t be part of the secure ordering process will be silently and unobtrusively shuffled off to the regular version of that page on the regular domain name.

Thirdly, this redirect is also accompanied by a 301 response header. That’s geek talk for “we’re telling Google to remove the incorrect version of its page permanently from its index, and use the correct version instead.”

Finally, we’re writing this blog article. This includes this link - which actually goes to the incorrect version of the homepage at the HTTPS version of the address. Because our site is spidered pretty much daily, Google will find that link, follow it to the Yorkshire Linen site, discover that the secure version of the domain has been moved to the regular version and begin to re-index the site properly.

All of which will mean that inside a few days, the Yorkshire Linen Company will be back on track and the tills will be ringing as rapidly as they were before this problem ever happened.

Today’s Moral?

If your web development strategy doesn’t include specialist SEO knowledge and ongoing marketing review, this kind of problem can easily occur without there being an obvious remedy. Many digital agencies can only supply the knowledge necessary to develop a website without having the deep understanding of Google necessary to remedy or protect your website from these problems at all. If your website is your revenue stream, then saving a couple of grand on your development costs or marketing won’t look so clever if it all comes crashing to a halt and no-one can tell you why.

One Response to “Canonical Domains, HTTPS, and Sundry Malarkey of a Geek Nature”

  1. Paul Carpenter says:
    I should have known that Matt Cutts had covered this, I guess - more here…

ADD YOUR COMMENT

THINK TANK
  • How to Become a Digital Estate Agent

    In a digital world dominated by Google’s search results, using every available snippet of a business’ data can able brand and local search prominence. Read Paul’s post about how to become a digital estate agent.

    A First-hand Look At Site Accessibility For The Visually Impaired

    When I first started spending time on the internet, it was the mid ‘90s. Pre-CSS, pre-AJAX, pre-Flash, it was certainly a different time for the web and a different time for web developers! During that time at college, I was surrounded by many computer-users who, like me, had a visual impairment, and also many who were totally blind. It was then that I first became intrigued by the issues surrounding access to technology and web accessibility in particular.

    Rick’s first impressions of 9xb

    From my very first visit to the 9xb website, I knew this was a digital agency I wanted to work for!

    The 9xb knowledge base is staggering – just take a few moments to click around this blog and you’ll find a wealth of knowledge and experience of effective and more importantly successful SEO, PPC, link building, social media and of course web design and builds. It wasn’t only the incredible knowledge that impressed me – it was also their enthusiasm to share it in an understandable and transparent way – no dark arts or mumbo jumbo with these guys!

    Offline SEO

    So, perhaps I should start off by defining what exactly I mean by Offline SEO? I suppose its best summed up as “using offline methods to generate online noise”. So why then, in this age of high speed internet, mobiles phones capable of email and a plethora of devices from a brand carrying a fruit shaped logo, should we still be looking at offline methods to generate online noise? I’ve broken the topic down into three main sectors and although I believe there is a huge amount more to say on this, perhaps I’ll do a part two to this blog in the future:

    An Introduction to the 3 Stages of Link Building

    To say link building is a long, drawn-out process that requires time, patience and resources has become a bit of a tired opening to a blog post, but it’s nonetheless true.

    Part of what makes it so difficult is that it can be difficult to quantify time and results. As with anything, there are always quicker, more efficient ways of working; it’s just about learning the hacks and developing new ones.

    At 9xb, we tend to break the process link building down into three stages

  • It’s not your website - it’s their website
    Great one, so many web-master are fails to make a clear picture of the what they are providing . Its ...

    Creating CSS Sprites & Improving Page Speed
    Thanks for this - I'm just starting out in web design and these tips are really useful!

    My Work Experience at 9xb by Alex Rhodes
    Alex, I was searching the internet and came across your article. I do have to agree with you to many ...

    PHP versus ASP.NET
    Hi Chris, enjoyed your article. I understand the comparison, but for me it is not always a case of ASP ...

    PHP versus ASP.NET
    On the contrary to what Paul said, great article. Not once did I feel like it was aimed at bashing ...

  • CATEGORIES:

Get in touch

Video Shorts
View our portfolio