Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Same page title for all articles

  • Resolved zimbrul

    (@zimbrul)


    Using this plugin on my website http://zimbrul.co.uk makes all articles to have the same title regardless the actual post title.
    I’d like to mention that I’ve changed the title tag in header.php as per instructions but still got this problem…can anyone come up with a fix?

Viewing 5 replies - 1 through 5 (of 5 total)
  • oooops, no answer, it seems that this is a bug naobody can fix. Switch to All in One SEO pack or similar ….

    Plugin Author Joost de Valk

    (@joostdevalk)

    This is a result of bad code in your theme, I’m quite sure. I’ll try to control for it a bit better in the next version of the plugin, but don’t blame a plugin if you use a crappy theme, it’s working well for tens-of-thousands of people.

    This is a result of bad code in your theme, I’m quite sure. I’ll try to control for it a bit better in the next version of the plugin, but don’t blame a plugin if you use a crappy theme, it’s working well for tens-of-thousands of people.

    There is no excuse for acting like a jerk. You may not have meant to, but you came across as a prick in your response. And because it works well for “tens-of-thousands” of people does not mean it works well overall. Tens-of-thousands is very limited in the scope of how many people use WordPress. As well as the fact that he never placed blame on the plugin. He was simply stating an issue that he was having and requested that someone help him in figuring it out.

    I am here because I too have the same issue and wondered if anyone had come across it. I have been building my own WordPress themes for a while. Am I an expert? Not at all. Do I know what i’m doing? Enough. And no, it is not an issue with my theme. It’s an issue with the plugin.

    As a matter of fact I had the same issue, either as described above or, when I checked the forced rewrite box, doubling the site title. And I’m using a woo theme which clearly states that it supports the third party plugins like WP SEO. I checked “use 3rd party SEO plugin” box that my theme provides.

    How I solved the problem:

    I UNchecked the box for “forced title rewrites”
    I changed my header.php title
    TO

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

    FROM
    <title><?php woo_title(”); ?></title>
    (if you are using a wootheme or maybe another theme that includes a lot of its own functions it may be something other than wp_title and checking the force rewrite box won’t work)

    then I used %%title%% – My Site Title
    for POST title (you can just use %%title%% as well.

    This fixed the weird bug of having the title of the first post I went to “stick” for all subsequent posts–it displays just the post title followed by a separator and the site title.

    I think anything to do with the code in the theme was probably intentional rather than “bad.”

    Good luck!

    In the meantime I found what caused that: it was about ticking the box “Force rewrite titles” in “Yoast WordPress SEO: Titles” section.
    To get rid of the problem Leave it un-ticked. If you’ve managed to change <title><?php wp_title(”); ?></title> as instructed in the plugin settings do not tick the box.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Same page title for all articles’ is closed to new replies.