How to remove the annoying spacers in Wordpress <title> tags

Discussion in 'WordPress' started by misohoni, Nov 16, 2007.

  1. #1
    If you check your WP homepage <title> meta data, then the title looks fine - check out a category page or an individual page and voila - spaces before the text:
    <title> lala</title>

    How can I remove them?
    thanks
     
    misohoni, Nov 16, 2007 IP
  2. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Presentation>Theme Editor>category.php/archive.php or something like that, and check the HTML code there.
     
    r3born, Nov 16, 2007 IP
  3. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #3
    Nope it relates to header.php:

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { ?> | <?php } ?><?php bloginfo('name'); ?></title>
     
    misohoni, Nov 16, 2007 IP
  4. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #4
    Install Seo Title Tag and replace the title in the template by the title used by the plugin.
     
    r3born, Nov 16, 2007 IP
  5. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #5
    Thanks, but I used Seo Title Tag in for my meta descriptions, I found it was more useful in that location...shame there's still the problem with spaces...is a bug in WP?
     
    misohoni, Nov 16, 2007 IP