Getting Rewrite Rule to work
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[options]=$matches
Going to the page http://www.url.com/topdrs/state/Arkansas 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.