1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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.

Related posts brought to you by Yet Another Related Posts Plugin.

Share this post with a friend Share this post with a friend

7 Comments

  1. evden eve nakliyat says:

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

  2. JessicaBarce says:

    thans for the tip

  3. Arianablen says:

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

  4. Konstantin Mirin says:

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

  5. Franklyn Cozier says:

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

  6. Konstantin 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 :)

  7. PauletteThompson says:

    If you’re in uncomfortable position and have got no money to move out from that point, you will require to receive the mortgage loans. Just because it should aid you unquestionably. I take consolidation loans every time I need and feel fine because of that.

Leave a Reply