Forums

Permalinks by pagename (6 posts)

  1. zurih
    Member
    Posted 3 years ago #

    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

  2. zurih
    Member
    Posted 3 years ago #

    Anyone?

  3. zurih
    Member
    Posted 2 years ago #

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

    Thanks,
    Zuri

  4. ousep
    Member
    Posted 2 years ago #

    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%

  5. zurih
    Member
    Posted 2 years ago #

    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

  6. mediamixologist
    Member
    Posted 2 years ago #

    thanks ousep.

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

Topic Closed

This topic has been closed to new replies.

About this Topic