• 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>

Viewing 5 replies - 1 through 5 (of 5 total)
  • you would lose the “&raqo” 😛

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

    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.

    i use a simple dash.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Optimising the Title tag’ is closed to new replies.