Where to find Malcolm Coles, reviews, and tips on how to do things I couldn’t do.

malcolm coles


Guardian makes its comments accessible, SEO friendly and mobile friendly all in one go! 7

Posted on November 05, 2009 by Malcolm Coles

The Guardian has changed its user-generated comment system - moving from a client-side system to a server-side one.

With the old system, once you clicked to read a story, the web page would download, and some javascript would run. This would go off and look up readers' comments and display them. This wasn't terribly accessible - if you couldn't or didn't run javascript, you couldn't see the comments.

What you used to see with JS turned off

What you used to see with JS turned off

It was also bad for SEO, as search engines couldn't run the javascript (so couldn't see the comments). And if your mobile didn't run javascript (like mine), you couldn't read the comments either.

With the new system, the comments are just part of the web page, like all the rest of the text on the page - so the comments are readable by anyone, javascript or not.

This is a great change by the Guardian, and not before time. If you notice any problems, they've asked you to point them out.

The problems with the old system

You can read some of the background to the change - ie comments by me bitching to various members of the Guardian about how awful the old system was on the Guardian site:

  • here (where I point out the old new system surely breached the Guardian's accessibility policy),
  • here (where I got a bit frustrated) and
  • here (where there was an interesting (to me ...) exchange between me and the Guardian about what was going on).

The only problem now is that a couple of links to my blog that I dropped in the comments section have broken This is only a problem for posts shown on the search results page - on the actual posts, the links work fine.

Although I'll guess they'll add nofollow to links in comments soon anyway, to avoid the Independent's problem with spammers... (Update A Guardian commenter, below, says future links in comments will be nofollowed - but existing links in comments will stay without the nofollow tag).

Google already indexing comments

Google has already indexed the text of one of my comments

Google has already indexed the text of one of my comments

This screenshot shows how Google has already indexed the comments on the page shown - a search for the text of my comment returns the page. With the old system, it wouldn't.

You might also like
  1. The Guardian and accessibility
  2. Guardian hides user profiles from google. An SEO trick?
  3. The BBC and Guardian: more reasons I hate mobile sites
  4. SEO friendly URLs: myth and fact
  5. Is the Times hiding negative comments about its Nightjack story?

You should follow me on Twitter.

7 Responses to “Guardian makes its comments accessible, SEO friendly and mobile friendly all in one go!”

  1. Grant says:

    rel="nofollow" is in there, its just for new comments though. We did not do old comments retrospectively.

  2. Caspar says:

    I'm pleased they've done this. The project I work on has been considering using the same system they use for various UGC bits (blogs, comments, forums etc). Seeing that the Guardian can handle it being hosted server side is a big bonus, the client side system was quite unappealing.

  3. Meg Pickard says:

    Thanks for your constructive review, Malcolm. There are still some glitches (as you've noted), but we're working on getting those resolved soon.

    Caspar - I'm glad you're benefitting from our trailblazing approach to serverside Pluck. The problem with no-one else (at scale) having done it quite like this before is that there's been quite a steep learning curve (for developers and readers alike).

  4. gwenhwyfaer says:

    I like the new system, except for one thing, which I know was an unintentional byproduct of the old one but one which made the Grauniad a much nicer place for me. If I turned off Javascript, I didn't have to see any comments. Now I do, and there seems to be no way to get rid of them. Can I have that piece of functionality back, please?

Leave a Reply

All comments are moderated. Comments that include URLs and which just say 'Nice post' or similar won't be published, but thanks for the sentiment.

Find more posts like this



↑ Top