Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20455

    I thought I had solved this but a new problem has arisen. My last question in the related post is down as not a support question so I figure i need to start afresh.

    I was getting duplcate title tags until I followed the advice from another post and deleted:

    <title><?php bloginfo(‘name’); ?> | <?php is_home() ? bloginfo(‘description’) : wp_title(”); ?></title>

    replace with

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

    A new issue has arisen now.

    It is all fine EXCEPT the home pages (English and Indonesian). IF you look the titles are not working and they are certainly not what I wrote in the SEO dashboard.

    http://www.indonesiadetective.com

    Any advice?

    #107702

    I just answered on your other post but I’ll do the same here and close that topic.

    If I remember correctly, you have to actually set the home page title in yoast SEO. I don’t know if its on the home page (page) or in the plugin set up but when you change that bit in the header.php, wordpress doesn’t know what to do for a page title so it has to rely on Yoast.

    Regards,

    Devin

    #107703

    Thanks Devin. I will give it a shot. If it is as you suggest I am sure I can find the answer.

    #107704

    Hey!

    You need to configure all Yoast SEO settings for the home/front page on the plugin option page: SEO > Titles & Metas > “Home” Tab.

    Regards,

    Peter

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Title Tag not on Homepage (TWO pages)’ is closed to new replies.