WordPress.org

Ready to get started?Download WordPress

Forums

No redirection to 404 on {url}/pagename/custom (1 post)

  1. Leon
    Member
    Posted 4 years ago #

    Hi,

    I want to create a small plugin which extracts data from the url and use it on a post.
    for example:
    I have a page named "Personal".
    the url to that page is: http://domain.com/personal
    Now I want to add some extra data to this url like so:
    http://domain.com/personal/peter+petterson

    When I go to this url it returns a 404.
    I don't want it to return a 404 but just to go to the "personal" page. Then I can create something to extract the name out of the url and use it in that page.

    Can anyone advice?

Topic Closed

This topic has been closed to new replies.

About this Topic