Wordpress Blog Titles with Category Name Listed?

Discussion in 'WordPress' started by ejmeier, Feb 21, 2009.

  1. #1
    I know that with version 2.5, Wordpress allowed people to rearrange their title tags so that the blog post could be listed first, and then a separator, and then the blog's title listed last. Like so:

    Post title >> Blog title
    Instead of:
    Blog title >> Post title

    This helps with SEO.

    But, my question is:
    Is there a way, either through editing the header.php file, or a WP plugin, so that you could list the title tag of a single post to include the category name as well, such as:

    Post title >> Category title >> Blog Title

    I have a lot of posts already, and I don't really feel like going back with the SEO plugin and rewriting all of the titles manually to include the category name.

    But, I do like the idea of using more keywords in the category title, and having that automatically be included in the blog post's title would be good for SEO.

    Any suggestions?
     
    ejmeier, Feb 21, 2009 IP
  2. mrhrk01

    mrhrk01 Well-Known Member

    Messages:
    664
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    145
    #2
    I would recommend upgrading to wordpress 2.7.1! and then using the all- in-seo pack , and change the relevant setting (post/page title) to be :
    Post title >> Category title >> Blog Title

    as you want. If you need anyhelp just let me know.

    Kind Regards
     
    mrhrk01, Feb 22, 2009 IP
  3. ejmeier

    ejmeier Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't know why I hadn't tried all-in-one seo a long time ago. Its way better than the SEO title optimizer plugin. That's exactly what I needed. Thanks.

    (BTW, I do have latest version of WP, I was just saying that with the 2.5 release they allowed users to switch the post title and blog title positions in the title tag.)
     
    ejmeier, Feb 23, 2009 IP
  4. dickieknee

    dickieknee Active Member

    Messages:
    441
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #4
    one word of warning when using all in one seo pack, and that is for the home/front page,

    for the front page/home page all in one seo pack has a special option where you must go in and add the information, the info in the page/post is not used for the front page
     
    dickieknee, Feb 23, 2009 IP
  5. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #5
    First you want to pull out parent category names and then its subnames.
    Refer to this wordpress code.
    I believe it is exactly what you are looking for.
     
    olddocks, Feb 24, 2009 IP