Forums

[Permalinks] Posts in Posts page not resolving properly (3 posts)

  1. nobody5973
    Member
    Posted 1 year ago #

    Hello.

    I've set up (in Reading Settings) the front page to display a static page and assigned the Posts page to another page, called Archives.

    My permalink structure is /%pagename%

    Now, I get my posts to show up in Archives, but I cannot set the proper permalink set to them. So, instead of having mysite/archives/postname as the link for every post, I only get mysite/postname.

    I'm pretty sure that it has something to do with the way I set up the custom permalink structure, but if I set it up like /%pagename%/%postname% I'm still stuck with a similar problem: mysite/postname/postname

    How can I get every post to resolve like this: mysite/pagename/postname?

    This is my WP site: http://www.pastorbob.org

    Thank you,
    Bob

  2. Samuel B
    moderator
    Posted 1 year ago #

    /%pagename% is not a legitimate structure tag for permalinks
    http://codex.wordpress.org/Using_Permalinks#Structure_Tags

    you may want to assign posts to a category and use
    /%category%/%postname%/

    anyway - look at the link and decide

  3. nobody5973
    Member
    Posted 1 year ago #

    Thank you Samuel B.

    I went with your advice, since it seemed the most reasonable, but it didn't work I'm afraid.

    Unfortunately for me,

    Starting Permalinks with %category% is strongly not recommended for performance reasons.
    , and even so I've tried it without success.

    Why though, as you say,

    /%pagename% is not a legitimate structure tag for permalinks
    , I don't know.

    I've tried many combinations and arrangements that included: pagename,monthnum,year,postname,category and post_id. Still no luck.

    Any suggestions?

    Regards,
    Bob

Topic Closed

This topic has been closed to new replies.

About this Topic