Support » Fixing WordPress » WP_Rewrite question

  • Hello,

    I am working on a project that is basicaly a WordPress theme and I need to send some GET values to the post template, right now I do it like this:

    mysite.com/hello-world?value=my-value
    or

    mysite.com/?p=1&value=my-value

    But the client really wants this kind of URL rewrite

    `mysite.com/hello-world/my-value/

    I looked at WP_Rewrite, but I just cant get my head around it and I haven’t found a tutorial or any other documentation. Can someone please point me in the right direction?

  • The topic ‘WP_Rewrite question’ is closed to new replies.