• Hi there,

    I’m gonna use WP as a CMS, not a blog, so I want to use pages as the website static pages, and the posts the the “news” of the site.

    I changed my permalink to /%pagename%/, and the pages work fine with it. But the posts are not working with this type of permalink.

    What I’m looking for is, on posts to use /%postname%/ and on pages use /%pagename%/.

    How can achieve that?

    Any other suggestions will be warmly welcomed.

    Thanks in advance,
    Zuri

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter zurih

    (@zurih)

    Anyone?

    Thread Starter zurih

    (@zurih)

    I’m still looking for an answer regarding this… would appreciate if anyone could assist.

    Thanks,
    Zuri

    Change your permalink structure to %postname%
    It automatically assigns a %pagename% structure to your pages.
    Sub-pages assume the structure %parent-pagename%/%child-page-name%

    Thread Starter zurih

    (@zurih)

    I already tried it, but when when its %postname%, the pages don’t work, I get this when I try to go to pages:

    Not Found

    Apologies, but we were unable to find what you were looking for. Perhaps searching will help

    thanks ousep.

    placing /http:/yourwebsitename.com/%postname%/ into the custom structure field, on the permalinks settings page worked like a charm.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks by pagename’ is closed to new replies.