• Resolved michael

    (@mvandiermen)


    my problem is no matter waht I do the meta title is the same as the page title, and obviously that is not want you want for SEO.
    For example if I use
    %%title%% %%page%% %%sep%% %%sitename%%
    on all the page title I am getting the site name (ugly), but if I remove %%sep%% %%sitename%% then I do not get the site name in the meta title (we need it in the meta title. Surly there is a way to have different title for meta vs post/page.

    https://www.toumazos.com/alphadental

Viewing 1 replies (of 1 total)
  • Thread Starter michael

    (@mvandiermen)

    what I found was <?php wp_title(); ?> was used for both the page title and the meta title.

    <?php wp_title(); ?> gets taken over by the “SEO Title” field for from Yoast.

    So leave that as your meta title
    and use

    <?php
    global $post;
    echo $post->post_title;
    ?>

    for your page title

    fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘SEO by Yoast : how to define different meta title from page title’ is closed to new replies.