WordPress does not come with very SEO (Search Engine Optimization) friendly title tags. They look a lot like this:
Blog Archives » SEO WordPress title tag code » Web Design San Diego
And that is ugly. You’ll start ranking for “Blog Archives” before “SEO WordPress”, and that’s not what we want, is it?
I have found a simple line of code- no plugin required- to make your WordPress SEO-less title tag blues go away. Just copy and paste the following into your title tag and wash those blues away!
<?php wp_title(”); ?> <?php if(wp_title(‘ ‘, false)) { echo ‘ | ‘; } ?>
<?php bloginfo(‘name’); ?>
Make sure that it gets condensed to one line when you paste it into your header.php file.
Easy as pie. Happy SEO blogging!
