• I’ve been going through tutorial upon tutorial on how to give my plugin its own “page”. I haven’t come across a solution that does what I want. I’m getting frustrated because what I assume to work from multiple different examples is not.

    What I am trying to accomplish is adding my own entry, preferrably without the need for a page to be created within wordpress, and have the url work like:

    1. example.com/myplugin
    2. example.com/myplugin/detail

    I have the templates working for each checking the $_SERVER[‘REQUEST_URI’] for “myplugin”, but the part I cant figure out is hooking into wordpresses permalinks to make them work all the time regardless of permalink structure.

    On a side note, if I’m even doing this right, when do I fire the “generate_rewrite_rules” action?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Permalink for Plugin’ is closed to new replies.