WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] [closed] %%page%% variable inserting extra %%sep%% (6 posts)

  1. SimpsonsRule
    Member
    Posted 1 year ago #

    Under Titles and Meta, I have the following as my Category title template:

    %%term_title%% Archives %%page%% %%sep%% %%sitename%%

    That ends up returning:

    [Category Name] Archives | Page 1 of 4 | [Site Name]

    If I change it to:

    %%term_title%% Archives %%sep%% %%page%% %%sep%% %%sitename%%

    It returns:

    [Category Name] Archives || Page 1 of 4 | [Site Name]

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

  2. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, could you please try the development version? I think I've fixed this :)

    You can download the development version from here, or you can download it directly here.

  3. SimpsonsRule
    Member
    Posted 1 year ago #

    With the development version I put:

    '%%term_title%% Archives %%sep%% %%page%% %%sep%% %%sitename%%'

    And it returned:

    [Category Name] Archives || [Site Name]

    The double separator is still there and the page numbers are missing entirely. Kind of the opposite result eh? :)

  4. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Well no, not really, on page 1 it shouldn't output numbers, you can force that with %%pagenumber%% and %%pagetotal%%, if you always want it to show, I would set the following template though:

    %%term_title%% Archives %%page%% %%sep%% %%sitename%%

    If it outputs something for the %%page%% variable it will automatically pre-append a separator.

  5. David Henry
    Member
    Posted 1 year ago #

    I've also come across this issue, disabling WordPress SEO fixes it but obviously this isn't the answer we need:(

    Any ideas?

    Could it relate to Custom Post Types?

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @David Henry

    per forum rules, please start your own topic.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic