“CLOAKING” CONTENT FOR SEO (OR WHAT HAPPENS WHEN YOUR SEO COMPANY ISN’T TELLING WHAT THEY’RE UP TO)

Paul Carpenter 17th November 2008
Paul Carpenter

This article contains scenes of a technical nature and has been rated ‘G’ for Geeks.

We recently built a pretty natty website for a client (who we’re not going to name!) who then went elsewhere to get their SEO and PPC. No crime there – there are bigger agencies out there, cheaper agencies, even better-looking agencies and all manner of options to take.

Having suffered a bit of rankings lapse, they came in to talk to us about their site in general, so we took the opportunity to look at their site to see what had been done. The results were a textbook example of the techniques employed at the shadier end of the market to hide content from visitors to the site, but let the search engines to find it.

We expose these techniques here to give you a bit of a warning what to expect if your SEO company won’t tell you what they are doing to your site. If you ask us to do this kind of thing, you’ll get a polite ‘no’.

SEO Crime 1: Hiding content from human visitors

The first rule of Google is: "make sure you have some content". Content is the soil in which good rankings thrive and it is very hard to rank a site unless you’ve invested in decent information with which to fill it. What was strange about this site was that it was ranking for a few terms despite only having 4, pretty much content-free, pages.

The first clue came when we looked at the site with the visual styling turned off. At the bottom of each page were 5 great big paragraphs of text about the company’s products, stuffed with keywords and heading tags that increase the prominence of those words. None of this was visible if you looked at the site as God (i.e. Johnny Wright) intended.

This is a huge no-no as far as Google are concerned. They want to place real content in front of site visitors and ‘hiding’ that from view defeats the object of that noble ambition.

SEO Crime 2: Hiding content using Javascript

You can, if you’re that way inclined, hide content from Google by accessing the DOM through javascript and altering its properties. That’s geek-speak for “doing shady stuff”. If you want technical stuff, read on, but you can skip to point 3 for something written in the Queen’s English.

There was a lot of newly-minted javascript kicking around in the source code, but the bit that caught my eye was this:

cstring = 'newresourceextranoted'
cdisplay = cstring.substring(16,17) + cstring.substring(17,18) + cstring.substring(0,1) + cstring.substring(19,20) ;
document.getElementById('resources88742').style.display = cdisplay;


What’s going on here? Well the last line of that block of code sets the display state of some content. The easiest way to do this would be set “style.display = ‘none’” or “set.style.display=’block’. If you’re trying to hide content, this is laughably easy for Google’s spiders to detect, so the SEO went around the houses to get the same result.

“Cdisplay” is a variable, which gave the SEO company a way to turn something that looked (vaguely) legit into something a little dicier. The content of ‘cdisplay’ is then created from a substring of letters in another variable called cstring. Cstring has been assigned the value ‘newresourceextranoted’ and the substring elements taken from it are characters 17 (‘n’), character 18 (‘o’), character 1 (‘n’) and character 20 (‘e’). Yep – it’s a highly convoluted way of spelling ‘none’, and there’s no reason to do that unless you’re up to something you’d rather the search engines didn’t see.

SEO Crime 3: Copying content from Wikipedia (and sundry other sources)

All this rigmarole was undertaken to hide some content. But this content itself was basically retrodden stuff from a thousand sources.

Type in one of the phrases from the text into Google, and this is what you get.

Lots of people have added pretty much exactly the same block of information, meaning it’s been copied a thousand times from one originating source and changed it only slightly.

Basically, the content is valueless. For sure, the story of rubber is the story of rubber – there’s only so much you can say about it – but you can reposition it in a more interesting light or make a much greater effort to rewrite it than these clowns did. Not only does that make a more interesting site but it avoids the danger of getting a duplicate content penalty for Google (who are very keen on this kind of stuff).

So if the company in question aren’t penalised for hiding content, then they will one day be dragged down by their low value of that content. As sure as eggs is eggs.

And the results are…?

Actually at the time of writing, the site is ranking for a couple of it’s chosen keywords. That’s great for the customer and we’re sure they’re happy with the custom those rankings bring to their business. But here’s the rub: because their SEO agency have gone down this route they could not only lose those rankings, but all their rankings at any moment. It all looks very convoluted on paper, but it took me about 2 minutes to unravel what they were doing.

If one of their competitors hires an SEO, the first thing they’ll do will be look at this site, come to the same conclusions that I did and report the site to Google. That means a 50/50 chance that see the site will be removed from Google’s index all together, and the company will be have to go down the pay per click route in order to win new business. In these economic times, few companies can afford to start playing so fast and loose with their margins.

Today’s Moral?

We’ve said it before. If your SEO company can’t/won’t tell you what they’re doing with your money then think very carefully about whether you should continue to work with them. If they’re using techniques like those outlined above to ‘fool’ the search engines into giving them decent rankings then they are playing with the very future of your online business.

(If we're going to be brazen about it, contact someone reputable today!)
 

Notes and Queries...

I thought these techniques died out with Windows 98', these people need to find a new career. Nice writeup BTW
The Floating Frog 17th November 2008
Well said.
Ryan Atkins 27th November 2008
UPDATE: another of our clients has just been sent an email from their SEO company with a set of instructions to do precisely this! I'm very tempted to out them, but when you're dealing with guys at this end of the market, you can never quite tell what they might try to extract 'revenge'.

Suffice to say I've done some looking into reviews of their service and almost none of it is good.
Paul Carpenter 10th December 2008
 
ADD YOUR COMMENT

Are you human? (sorry to ask!)
Please answer this question in the box below:

OTHER ARTICLES


THINK TANK
  • Google comes good
    "Jamie - brilliantly diabolical for making me feel like Homer Simpson."
    BigEars
    HTML Emails & Outlook 2007
    "Your robot protection does nothing!"
    Commenteer
    Why invest in online marketing?
    "ha ha that sounds like my company. I'll leave a copy of your article on the bosses desk!"
    Gaynor
    How to Reindex Your Website Quickly in a Search Engine
    "Hi Cyndi You're going to find the same thing that a lot of people find when chasing rankings. Firstly, the hand-crafted jewellery market is very competitive because a lot of people are using the internet as their primary route to market - compared to selling at markets and craft fairs there's a potentially massive audience. That gives Google a big headache, because there are a million sites out there competing for its attention. Secondly, much of what determines their rankings comes from the history of the domain. If you've been going a long time, it says to Google that the business is well-established and therefore probably has a decent offering. Any brand new domain is going to struggle to get anywhere near the top of the rankings in the short term unfortunately. It's encouraging that Google is at least spidering and indexing your site, but you will have to do a *lot* of work in terms of content and link building to see returns in terms of rankings."
    Paul Carpenter
    How to Reindex Your Website Quickly in a Search Engine
    "I love reading al the information you have published for SEO. but....I have a question. I just started a handcrafted jewelry site www.cynfullyunique.com How do I know if it's being indexed. It appears, when I check my pages visited and people visisted that google bot has a lot of viists. I try to up-date it with new jewelry every two days. And is it good and what does it mean that google is visiting my pages often. My site is relatively new....2 months and I really need to get it ranked so I can sell some of my jewelry, etc."
    Cyndi
    HTML Emails & Outlook 2007
    "I simply don't understand why MS always tries to make everything so hard... Thanks for the workarounds, I actually thought no CSS worked at all."
    Esteban
    The Future of Google?
    "well, there is lot going on Google, its constantly changing itself like there is no other day.. http://www.linkbuilderz.com/linkbuilding"
    julie
    Beyond SEO: Online Advertising and Google in 2009
    "Cheers Richie! If there's any questions you've got about anything, feel free to drop us a line. I'm a bit hapless about replying to emails sometime but we're always happy to give pointers Oh - and merry christmas!"
    Paul Carpenter
    Beyond SEO: Online Advertising and Google in 2009
    "Great Read, Been looking into learning SEO lately. I’m a local sixth form student living locally and find your work inspiring. "
    Richie Jenkins
    Google's 10th Anniversary: A Decade of Change
    "Hi I received a email today from googles stating that I won three million dollars for your ten year birthday. This is a God send. I am a senior citizen trying to survive on eleven hundred and fifty dollars a month. I cannot pay all my bills and the saddest thing of all is I am about to lose my home of twenty eight years. Thank you so much. I am one happy lasy today,. Grace"
    Grace Cruz

Get in touch

View our portfolio