WordPress.org

Support

Support » Plugins and Hacks » Adding custom permalinks and using them on the page

Adding custom permalinks and using them on the page

  • Hi everyone,

    I’m working on a site using WordPress and my permalinks are set up as follows:

    /%category%/%postname%/

    which is exactly what I want. However, for a particular page link I want to be able to add on another level in order to use this value on the next page – exactly like a query string.

    i.e. Permalink on page 1:

    http://www.mysite.com/category/postname/MYCUSTOMTEXT/

    Then on page 2 it will have a line that reads:

    This is the MYCUSTOMTEXT page!

    Essentially in PHP you’d use a $_GET to be able to grab the value of a query string but I want it to look “pretty”. Is there a hack-less way of doing this? That is to say, is there a function built-in to WordPress which can execute what I want to do, or is there a plugin that can do this?

    Any help is much appreciated! Thank you!

    Michael

  • The topic ‘Adding custom permalinks and using them on the page’ is closed to new replies.