Viewing 5 replies - 16 through 20 (of 20 total)
  • For anyone using Yoast SEO and YOOtheme:

    I had this very problem using YOOthemes – it looks like my theme company tried to place the blog title code in the header.php (its called head.php on the theme … inside a folder called warp > systems > wordpress > layouts > head.php) – they basically exported their joomla themes to wordpress so now you can customize WordPress like Joomla, its pretty sick. But I wanted to point out that at first I was pulling my hair out trying to blame the Yoast SEO plugin until I found the following code (SPECIFIC TO YOOTHEME):

    <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

    I now change it to the following and it works great:

    <title><?php wp_title(); ?></title>

    Again, this is specific to YOOtheme but I figured I’d contribute my solution because … well, I absolutely LOVE Yoast’s SEO plugin!!!!

    My favorite part about Yoast SEO aside from the customized titles is the ability to remove /category/ from blogs (with the caveat to not have the same category name/slug as a page’s name/slug)

    I have also a double title, using SEO by Yoast.
    I am using linguini theme by grandpixel.

    The header.php show me this code:
    <title><?php wp_title('&rsaquo;', true, 'right'); ?><?php bloginfo('name'); ?> &lsaquo; <?php bloginfo('description'); ?></title>

    So If somebody know, how can I fix it, that it will show me just one title, please reply.

    Best regards

    The tip using the force rewrite title helped me on my subpages and posts. But at homepage, were my latests posts are listed, I do have the title still twice. I do not have any intention rewriting the code of my theme, because if it gets updated, I have to do it again – a pain, if I forget it.

    It would be nice, if Joost will update his plugin in short time, because this is the reason for this bug.

    I am not sure your theme will be updated that often… and it’s only a quick tweak in the header most of the time.

    And this may also be due to some theme creator that are using special “titles” php no ? Just thinking.

    I noted earlier that at first I was blaming Yoast SEO until I realized my theme had customization in the header.php under titles and that’s something outside of this plugin’s scope because every theme will be different in it’s location of coding. I don’t think this plugin has bugs, so much that other themes are incompatible with it; some to a smaller extent, others have deeper code than usual, hence the problems on specific pages only when using the ‘force rewrite title’.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Double site title’ is closed to new replies.