Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] How can we remove the global title from the post title (4 posts)

  1. cvos
    Posted 5 years ago #

    In each default post title, the page title displays as follows:

    {post slug} | {blog title}

    How can we just make this display {post slug}

  2. Joost de Valk
    Plugin Author

    Posted 5 years ago #

    Please check the FAQ before posting here:

    The SEO title output for the plugin doesn't work as expected?
    You've set up a template for your titles, but things get added to it when they're output? You can do two things: either enable "Force rewrite titles" on the SEO -> Titles settings page, or go into your header.php and change the title element to just this:

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

  3. cvos
    Posted 5 years ago #

    Thanks so much for the feedback. We did install it, and changed header.php with <title><?php wp_title(''); ?></title>

    Is there a way to make it default to only use {post slug} as the title if the author neglects to write a custom page title?

  4. Joost de Valk
    Plugin Author

    Posted 5 years ago #

    Yes, you got to SEO -> Titles and set up the template %%postname%% for Posts there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic