Support » Plugin: Yoast SEO » Still have 2 titles with yoast 14.1

  • Resolved ulissse

    (@ulissse)


    Hi,

    I just try the new version 14.1 and the same problem persist, 2 different titles on all pages, post, tags, … of my website.

    I’m again forced to rollback to 13.5 which is the only version that is working.

    Just to bypass the trouble : Is there a way to remove the title included by Yoast SEO 14.1 ?

    I already try to add this line :

    add_filter( ‘wpseo_title’, ‘__return_false’ );

    within my function.php theme file but it’s not working.

    If you have an idea…

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • This might sound silly but, are you cleaning up both your site’s internal cache and your browser’s cache?

    Thread Starter ulissse

    (@ulissse)

    Thank you for your response Eli, but I’m totaly sure it’s not a cache problem.

    I use the Following custom title :

    <?php wp_title(‘|’, true, ‘right’); echo $value;?>

    Before version 14 yoast was able to detect my title and don’t added the yoast title but since version 14, yoast cannot detect my title anymore and add a second title on each and every page of my website.

    Plugin Support marcanor

    (@marcanor)

    Hi @ulissse ,

    We’re sorry to hear the plugin is causing issues with titles on your site.
    This sounds like an issue with the way the theme is outputting the title tags, since you mention that there are two different titles.

    Can you please perform a Conflict Check on your site, so that we can determine if this is an issue with the theme or the Yoast SEO plugin?

    Thread Starter ulissse

    (@ulissse)

    Hi @marcanor ,

    I have already checked, it’s not a plugin conflict or a problem with the theme.

    The title is different because as stated above i add a value after the title like this :

    <?php wp_title(‘|’, true, ‘right’); echo $value;?>

    In the code above wp_title(‘|’, true, ‘right’) give the title (the same as the one yoast add.
    The other part echo $value just add some text related to each post.

    So, after version 14 of yoast if the title of the page is BLABLABLA the post have one title like this “BLABLABLA + TEXT” and a second title like this “BLABLABLA”.

    I use now the 13.5 version with no problem but everytime i try to update, every page of my site get 2 titles.

    Plugin Support amboutwe

    (@amboutwe)

    It seems like your theme is using the native WordPress hook while simultaneously using a wp_title call.

    Using <?php wp_title(‘|’, true, ‘right’); echo $value;?> is no longer the standard way to interact with the title in WordPress 4.1 and newer versions. This is likely why you are seeing two titles; one is the native WordPress one and the other is from the above code.

    If you remove that code (temporarily) from the theme files, is only one title output in the source code? If so, which title is shown (BLABLABLA or BLABLABLA + TEXT)?

    Thread Starter ulissse

    (@ulissse)

    Hi @amboutwe,

    If i remove the ligne

    <?php wp_title(‘|’, true, ‘right’); echo $value;?>

    The title shown is BLABLABLA But it’s not what i need.

    • This reply was modified 11 months, 3 weeks ago by ulissse.
    • This reply was modified 11 months, 3 weeks ago by ulissse.
    Thread Starter ulissse

    (@ulissse)

    And @amboutwe, as stated on https://yoast.com/help/my-seo-title-isnt-displayed-as-i-have-entered-it/#no-title-tag my theme do not support title-tag so i use <?php wp_title(”); ?> format. which is for me a lot more practice for my own customization.

    What i don’t understand is why Yoast since version 14 force his title even if my theme do not have title-tag support enable?

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    We would like some more information.

    1. Be on v14.1 of Yoast and If you remove the code you added: <?php wp_title(‘|’, true, ‘right’); echo $value;?> and go to SEO-Search Appearance do you see an option to do a force rewrite of titles? Yoast will let you know if you have it. If you do, enable it and see if the issue resolves.

    2.Be on v14.1 of Yoast and if you remove the code you added: <?php wp_title(‘|’, true, ‘right’); echo $value;?> what does the title show? What are you wanting or expecting it to show? We ask as there may be a way to change the title. Can you provide a link to the issue? Are you able to take a screenshot? You can use a tool like: https://pasteboard.co/ to share the image.

    Thread Starter ulissse

    (@ulissse)

    Hi,

    I’m on v14.1 but impossible for me to found SEO-Search Apperance ???

    Anyway, I’m forced to use <?php wp_title(‘|’, true, ‘right’); echo $value;?> because $value use a php code that can detect differente instance of the title andand react according the instance he found. and it is impossible to do that with yoast.

    To bad you cannot give me the code to add within my function.php file that will be able to remove the yoast title because that could solve my problem.

    Anyway, thank you for trying to help me but it seems i’m stuck with version 13.5 for ever. lol

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    You can disable the Yoast titles by using the filter: wpseo_title.

    Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.

    We highly recommend checking out our list of Yoast Partners here https://yoast.com/yoast-partners/ in case you are in need of development.

    We will also keep this issue open for 2 weeks in case someone from the community can help. Perhaps a developer watching these forums can assist further. After which, we will close in order to keep the overview.

    Plugin Support Jerlyn

    (@jerparx)

    Hi @ulissse ,

    We’re closing this thread because we haven’t heard back from you in a while. Should you have further questions, please open a new thread.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Still have 2 titles with yoast 14.1’ is closed to new replies.