St David’s 2: a new patron saint for Wales?

Two weeks ago my wife and I moved to a small village just outside Cardiff, Wales' capital, after many years of city-dwelling. Out of curiosity and (more pressingly) in need of a new watch battery, I ventured back into the city on Saturday.

Although I'm English, I've lived in Cardiff for 14 years, since I was 19. I stuck around after graduating from the uni because of work and relationships (in no particular order). In that time it's changed a fair bit, although not always for the better. Continue reading

Adding Amazon ads for different countries

UPDATE, July 2011: I'm now using the WordPress-Amazon-Associate plugin, so much of what's written below is no longer relevant. WPAA seems to do almost everything in one easy-to-use plugin, so give it a go if you're interested.

Some time ago I started looking into ways to add Amazon products to help monetise a WordPress site. My major requirement was to automatically set my affiliate IDs for a range of different Amazon stores, with products appearing depending on a user's worldwide IP location.

I was working on a site with a potentially global reach (aren't they all?), and didn't want to limit the potential by pushing people towards just one Amazon store. Here's how I did it. Continue reading

Google, NY skanks and the right to libel

Model Liskula Cohen recently filed a lawsuit against Google because the company initially refused to reveal the name of the anonymous blogger who described her in defamatory terms on a Google-hosted blog, Skanks in NYC. Cohen then turned to the New York Supreme Court, which ordered Google to reveal Port's identity.

Now the blog author - Rosemary Port - has hit back with a $15m lawsuit. Her argument is that Google "breached its fiduciary duty to protect her expectation of anonymity". In plain English, this means she thought she was legally protected from having her identity revealed, regardless of what she wrote. Continue reading

Adding h1 tags to your WP theme’s page headers

I recently coded my own theme for The Beatles Bible, which I documented elsewhere. However, earlier today I was doing a bit of reading on search engine optimisation, and learnt that many WordPress themes have the same h1 tag across the entire site - commonly linked to the site's name in the header.

I hadn't realised, but my theme was the same - the result of following a how-to guide I'd found on the web. Here's some information on how to make it work more efficiently and get that web traffic coming in better. Continue reading