One of the ways to make your blog more search engines friendly is to take cate of your <title> tag. That’s what’s showin in the browser’s window title. By default, wordpress shows Blog name on the homepage and [BolgName] > Blog archive > [PostTitle] on the posts page (the most important to us). Best variant is to show only post title or ctegory title in the <title> tag, without any blog name. Best variant to do this is to install All in one SEO Pack and configure everything there. However, if you can’t/don’t want do this, you can do one simple change.
- Go to Design->Theme Editor if you have version less, than 2.7 or Appearance -> Editor if you have 2.7.
- Choose file header.php
- Find line <title>…..
- Replace this line with these two:
-
-
<?php if (($t = wp_title(" ", false)) == ”){$t = get_bloginfo(‘name’);} ?>
-
<title><?php echo $t; ?></title>
-
-
- You’re done!
Further reading – wordpress reference
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Share this post with a friend











evden eve nakliyat says:
Great work …. Thanks for your ideas.
May 6, 2009, 18:42more helpful for us and anyone who needs information
JessicaBarce says:
thans for the tip
May 10, 2009, 22:52Arianablen says:
hi, thanks,The article was very well written, very helpful to me
May 13, 2009, 17:58Konstantin Mirin says:
Hi, thank you for so positive comments! It’s so encouraging to get ones! I’ll keep the site going. Thank you!
May 16, 2009, 09:27Franklyn Cozier says:
Interesting article. Were did you got all the information from…
January 10, 2010, 04:57Konstantin Mirin says:
Just went through the documentation and studied the SEO Titles plugin. I think it’s overkill to install a plugin for such simple change
March 14, 2010, 19:14