• 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: https://www.pastorbob.org

    Thank you,
    Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • /%pagename% is not a legitimate structure tag for permalinks
    https://codex.www.ads-software.com/Using_Permalinks#Structure_Tags

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

    anyway – look at the link and decide

    Thread Starter nobody5973

    (@nobody5973)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Permalinks] Posts in Posts page not resolving properly’ is closed to new replies.