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 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