Here is a quick WordPress tip I thought I’d share with you all. It concerns the <title> tag in your WordPress Theme.
Most of them are badly formed in my opinion, so with a little research, cribbing of other peoples ideas and trial and error I think I have found the best title tag arrangement. Open up your ‘header.php’ file from your current theme and replace everything between the opening and ending title tags. The opening tag is:
<title>
And the ending title tag is:
</title>
Once you have found that code (and only that code) replace the whole lot with:
<title>
<?php wp_title(‘ ‘); ?>
<?php if(wp_title(‘ ‘, false)) { echo ‘ -’; } ?>
<?php bloginfo(‘name’); ?>
- <?php bloginfo(‘description’); ?>
</title>
I reckon if you craft your blog name and slogan / description carefully, you can get all your keywords into your title using this.








Leave a Reply