• I finished the code on my first (true) plugin today, and it works great, but I am having a problem trying to get permalinks to work for it. I am using WP 2.0.

    My plugin runs off one particular static page, but it creates multiple pages. I pass the “pg” variable to the URI to tell the plugin which ‘page’ (of its results) to list.

    So in other words, I can bring up the second page like this (page_id 19 is the page loading the plugin):

    https://www.mysite.com/index.php?page_id=19&pg=2

    This works great, but ideally, I would like to be able to do this:

    https://www.mysite.com/thepage/2/

    But since the extra part (the page number my plugin uses) is not really generated by wordpress itself, the rewrite rules do not exist for that situation.

    Since in 2.0 .htaccess does not list the actual rules (allowing for manual additions), this is a bit of a problem.

    Am I overlooking something? Any suggestion would be appreciated ?? I know I could just leave it as is, but I would prefer it to look nicer ??

Viewing 1 replies (of 1 total)
  • Thread Starter aleister

    (@aleister)

    Update: I have tried many many examples of manually adding a rewrite rule, changing existing rewrite rules, and other options with no success yet.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks Plugins’ is closed to new replies.