Best Title Tag Code for WordPress SEO

Are you using the best title tag  for WordPress? so that you gets maximum search engine traffic ?

wordpress-photo

Use the following code for your wordpress blogs.

<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>

Its a proven code used by all famous bloggers who use wordpress like “DailyBlogTips” , DoshDosh and many others.

Where to paste the code ?

  1. Go to your wordpress Dashboard (Wp-admin Area)
  2. Go to Appearances and open Theme Editor
  3. Open Header section
  4. You will find there a line starting <title> some codes and ends with </title>. Delete this code.
  5. Copy   and paste your new code! You are done!!

About Jojo

About me! what to say...
This entry was posted in SEO, Wordpress and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>