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.

  1. Go to Design->Theme Editor if you have version less, than 2.7 or Appearance -> Editor if you have 2.7.
  2. Choose file header.php
  3. Find line <title>…..
  4. Replace this line with these two:
    1.  
    2. <?php if (($t = wp_title(" ", false)) == ”){$t = get_bloginfo(’name’);} ?>
    3. <title><?php echo $t; ?></title>
    4.                
  5. You’re done!

Further reading - wordpress reference

No related posts.

5 Comments

  1. evden eve nakliyat says:

    Great work …. Thanks for your ideas.
    more helpful for us and anyone who needs information

    [Reply]

  2. JessicaBarce says:

    thans for the tip

    [Reply]

  3. Arianablen says:

    hi, thanks,The article was very well written, very helpful to me

    [Reply]

    Konstantin Mirin Reply:

    Hi, thank you for so positive comments! It’s so encouraging to get ones! I’ll keep the site going. Thank you!

    [Reply]

  4. Franklyn Cozier says:

    Interesting article. Were did you got all the information from… :)

    [Reply]

Leave a Reply

Spam Protection by WP-SpamFree Plugin