Support » Plugins » Hacks » Bypass WordPress' tolerance of Permalinks

  • Resolved Mackser


    Hi guys,

    I’m writing my first plugin for wordpress. Of course I want the results to be search-engine-friendly and have a logical hierarchy in the url.

    Therefore I am using custom rewrite rules that look something like this:

    This is working quite fine, I only have one problem:

    If I have a page called “Event Management” with the URL-slug “event-management”, wordpress calls that page instead of letting my plugin know, that “showevent=1”.

    How can I bypass this tolerance of “short” permalinks or how do I overrule this tolerance? How can I tell wordpress, that I am preciseley looking for “EVENT” and not something with “EVENT” in it?

    Thanks for your help, guys. 🙂


    EDIT: oh yeah, I know, that using wp flush on every init isn’t very economically, this is just for testing purposes.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bypass WordPress' tolerance of Permalinks’ is closed to new replies.