Looking to optimize your WordPress title? While this blog will probably not get to caught up in covering search engine optimization, there are definitely a few tweaks that you can make to your existing WordPress theme that will help optimize your blog’s search engine potential. In this post I’m going to cover a quick adjustment that you can make to your title tag to show a more optimal title.
Optimize Your WordPress Title
By default, your WordPress theme will likely come with a pretty standard code for your blog’s title. It probably looks something like the following:
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
Unfortunately this is not the best way to code your title for your WordPress. Ideally, you’ll want a more search engine friendly way to display a custom title for each page of your WordPress blog. In order to achieve this, here is the code I recommend using:
<title><?php if (is_home () ) { bloginfo(‘name’); }
elseif ( is_category() ) { single_cat_title(); echo ‘ - ‘ ; bloginfo(‘name’); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { single_post_title();}
else { wp_title(‘’,true); } ?></title>
This code will actually display a custom title for each different type of page on your blog automatically.
If you’re truly ambitious, you can actually use a plugin that will do all the dirty work for you. That plugin is called WordPress SEO, and it will help automate the process for displaying completely custom meta tags for each page of your blog, including the title field.














There Are 14 Responses So Far »
Pingback: 63 Essential Wordpress Hacks, Tutorials, Help Files and Cheats | Speckyboy - Wordpress and Design
Pingback: 63 essenziali Wordpress Hacks, Tutorials, Help Files e Cheats : technorati.it
Pingback: Wordpress Tutorials/Hacks « The house of software freeware
Pingback: 155 Wordpress Resources, Tutorials, Plugins, Themes, AJAX, Podcasting…WP Monster List | Speckyboy - Wordpress and Design
Pingback: IndoProTech.com
Pingback: 63 correções, tutoriais, arquivos de ajuda e dicas essenciais para Wordpress | Rafael Bernard Araújo
Pingback: Table Of Contents Of Wordpress Tutorials, Helps, Tips and Tricks by aComment.net
Pingback: Tutoriale si hack-uri pentru wordpress ( lista mare ) at elbandito.us
Pingback: Wordpress Hacks, Guides and Tricks | TechnoBuzz.net
Pingback: WordPress ?? ??? ??? snippet
Pingback: WordPress ?? ??? ??? tutorial
Pingback: Top 30 Most Wanted Wordpress Tricks and Hacks | Make Money Blogging Experiment
Pingback: Wordpress ile ilgili 155 kaynak « YEAH28 - Her ?ey Sizin ?çin
Pingback: Best of WordPress Tutorials – More than 100 recourses | Tutorials | .:Lirent.net Hacks:. | All about Web 2.0, SEO, PHP5, Ajax, Adsense, Unix/Linux, Free Stuff, OpenSource, Designs, Wordpress, Hi-Tech etc
Pingback: 30+ (More) Most Wanted Wordpress Tips, Tricks and Hacks | Wordpress
Pingback: 135+ Ultimate Round-Up of Wordpress Tutorials | About Us | instantShift
Pingback: 36 New Wordpress Tips, Tricks, Tutorials & Hacks | TechnoBuzz.net