Adding the SEO Title Tag plugin

Here are my short notes on new WordPress plugins I’m trying out at

SEO Title Tag

I read about this in a WordCamp 2007 report last weekend. The corresponding plugin web page is here.

If you’re using K2, open header.php and replace everything within the title tag with this:

< ?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { wp_title(''); ?> < ?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> at < ?php } ?> < ?php bloginfo('name'); } ?>

e voilà :

adding the seo title tag

Bad behavior

According to the website:

Bad Behavior complements other link spam solutions by acting as a gatekeeper, preventing spammers from ever delivering their junk, and in many cases, from ever reading your site in the first place. This keeps your site’s load down, makes your site logs cleaner, and can help prevent denial of service conditions caused by spammers.

And yes, my logs are cleaner. Less spam is slipping thru into the comment moderation queue.

Bad behavior

Stats plugin

I’ve been using Counterize II for a couple of months and can recommend it.

If you’re in a hosted setup like, you could use a service like Sitemeter, Statcounter, or Google Analytics.

By nchenga

Nchenga-nchenga is my nickname. is my online playground, scrap book, and on-going collection of bookmarks and interesting quotes. Chiperoni is a Malawian term for cold, grey, rainy weather. I am a bridge blogger somewhere between Basel and Blantyre. The opinions and comments expressed here are my own personal opinions and do not represent my employer's view in anyway. So far, this blog is free of advertising or paid articles or similar.

1 comment

  1. I don’t know what you are trying to do, as in the latest wordpress release it already shows the correct title. Ok – not in the archives, but what else should you write but archive and the month and year.

    What i think would be useful is to chance the meta keys and decription dynamic. Anyone has a clue for that?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.