WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
SEO Title ignores title template (6 posts)

  1. David Hunt
    Member
    Posted 1 year ago #

    Maybe this is how it is supposed to work, but...

    In my header.php file, I have <title><?php wp_title('-'); ?></title>.

    In my WordPress SEO settings, I've set the title template for Pages to be: %%title%% %%page%% %%sep%% %%sitename%%. (I believe that's the default.)

    Then, if I have a Page titled "My Page", the title tag will contain "My Page - My Website Name". So far, so good.

    But if, for example, I give a particular page a custom SEO title "My Page Is The Best". Then when I view the page in a browser, the title tag only contains this title, not the page number, separator or the sitename.

    Do I have to manually enter the separator and sitename to every custom SEO title? What if I want to change the sitename in the future?

    If the SEO title is set for a page (or post, custom post-type post, whatever) is it possible to have the title tag contain, e.g. %%SEOtitle%% %%page%% %%sep%% %%sitename%%?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. David Hunt
    Member
    Posted 1 year ago #

    In the format of the support-request template specified by Yoast:

    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.4

    I did this: set a custom SEO title for a page

    I expected the plugin to do this: add %%sep%% and %%sitename%% after the title in the <title> tag, as per the title template settings.

    Instead it did this: only puts the custom SEO title in the <title> tag.

  3. milian
    Member
    Posted 1 year ago #

    Have you tried checking 'Force re-write' titles in the yaost settings?

  4. David Hunt
    Member
    Posted 1 year ago #

    Thanks for the suggestion Milian. "Force re-write" was not checked (the plugin auto-detected that it does not to be activated).

    I just tried turning it on, but unfortunately this has no effect. Still same problem.

  5. David Hunt
    Member
    Posted 1 year ago #

    Would Yoast be able to confirm whether this is the correct behaviour for the plugin, or a bug?

  6. Beachbum_NC
    Member
    Posted 1 year ago #

    I'm having this problem myself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic