WordPress.org

Forums

How to get rid of vertical bar in title (20 posts)

  1. newdad4132010
    Member
    Posted 4 years ago #

    Hello,
    If I google my website there will be a vertical bar before the title. If I view the page source there is also a vertical between the <title> tags. I checked the general settings panel and there is no bar in the title box so I'm not sure what to do next. Thanks in advance for any help.

  2. FishDogFish
    Member
    Posted 4 years ago #

    You'll have to post a link to your site.

  3. newdad4132010
    Member
    Posted 4 years ago #

    Hi sorry here is the link http://www.walkingoffweight.net
    Thanks

  4. FishDogFish
    Member
    Posted 4 years ago #

    The only other place I can find that is in the code for google analytics, which should be in the index.php and single.php files. Oh and in page.php if you want to track pages.

    You seem to have put it in the header.

    It doesn't affect your content in anyway. It might affect your search results position, although I can't confirm that.

    Are you absolutely sure you didn't put a | in the Title section under "Settings/General" ???

  5. newdad4132010
    Member
    Posted 4 years ago #

    Yeah I'm definitely sure I didn't put it in the settings/general section. I actually went in and retyped it and saved it just to be sure. I am using the All in one SEO plugin. Would it have anything to do with that? I noticed on the plugin options page it says:
    Post Title Format: %post_title% | %blog_title%
    Page Title Format: %page_title% | %blog_title%
    I'm not sure if those vertical bars are what is causing the problem and thanks alot for your help.

  6. FishDogFish
    Member
    Posted 4 years ago #

    Disable the plugin and see if that fixes it.

  7. Dale Buchanan
    Member
    Posted 3 years ago #

    I am having the same issue http://dalesrawfoods.com

  8. govpatel
    Member
    Posted 3 years ago #

    You will find that | line in code in header.php in title tags

  9. Dale Buchanan
    Member
    Posted 3 years ago #

    Where?

    head profile="http://gmpg.org/xfn/11">

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' : '; } ?><?php bloginfo('name'); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

    <meta name="description" content="<?php bloginfo('description'); ?>" />

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

  10. govpatel
    Member
    Posted 3 years ago #

    <title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' : '; } ?><?php bloginfo('name'); ?></title>

    it may be this echo ' : '

  11. Dale Buchanan
    Member
    Posted 3 years ago #

    Thanks
    Should I remove the 2 dots or the echo or the entire thing in parenthesis?

  12. govpatel
    Member
    Posted 3 years ago #

    just remove two dots

  13. Dale Buchanan
    Member
    Posted 3 years ago #

    Thanks. That did not work

  14. govpatel
    Member
    Posted 3 years ago #

    Then it must be coming from your seo plugin

  15. Dale Buchanan
    Member
    Posted 3 years ago #

    you must have read my mind. i just deactivated Platinum SEO plugin and that fixed it. Should I reinstall it again or just leave it off?

  16. govpatel
    Member
    Posted 3 years ago #

    since it is seo plugin then is there any way you can change that in settings of seo

  17. Dale Buchanan
    Member
    Posted 3 years ago #

    no I do not see how, I had setting optimized. maybe try another SEO plugin

  18. govpatel
    Member
    Posted 3 years ago #

    I am using SEO Ultimate

  19. Dale Buchanan
    Member
    Posted 3 years ago #

    ok thank I will look at that. i just installed All in one SEO will see how that works. Thanks for the help.

  20. govpatel
    Member
    Posted 3 years ago #

    You are welcome

Topic Closed

This topic has been closed to new replies.

About this Topic