Support » Plugins » Hacks » Getting Rewrite Rule to work

  • mediashark


    I am trying to make a custom URL using the add_rewrite_rule() hook. I have the rule showing up through the rewrite_rules() function. It displays as this:

    [(topdrs)/state/(.+?)$] => index.php?page_id=34&action=search&meta[13][options][]=$matches[2]

    Going to the page sends me to the 404 page template. On that page I output server and get variables and it appears the page_id is not being passed.

    It seems that its not passing the variables to the page

  • The topic ‘Getting Rewrite Rule to work’ is closed to new replies.