Forums

Optimising the Title tag (6 posts)

  1. astoller
    Member
    Posted 5 years ago #

    Hi

    I have the following code in my header.php which generates the title tag.
    It generates pages with "&raqo" statements inside my title which are not ideal for search engines.
    What would i lose if i just dropped them frm inside the following code?
    Thanks
    Art

    <title>
    <?php bloginfo('name');
    if ( is_home() )
    { ?>» <?php bloginfo('description'); }
    if ( is_single() )
    { ?> » Blog Archive <?php } wp_title();
    ?>
    </title>

  2. whooami
    Member
    Posted 5 years ago #

    you would lose the "&raqo" :P

    no, seriously, I dont use them and ive seen no ill effects, they dont add anything to your seo, if thats what youre asking.

  3. maerk
    Member
    Posted 5 years ago #

    You would lose the separator between your site's name and the blog post's title. So instead of it being:

    My blog >> My post

    It would be just:

    My blog My post

    To my mind that's a bit confusing for visitors. What I do is switch them around:

    My post << My blog

    (using &laquo;)

    That puts the most relevant title first, which might help your SEO. To be honest, though, I don't think it matters that you have separator characters in your title.

  4. whooami
    Member
    Posted 5 years ago #

    i use a simple dash.

  5. DevlinsBlogcom
    Member
    Posted 5 years ago #

    When using the reverse order, how do you remove the » at the beginning? It seems to be embedded in wp_title?

  6. freelancemom
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags