add_rewrite_rule query_var not being set
In response to yivi’s inquiry, So I was able to solve the problem by putting the hardcode portion of the redirect string first as shown here: add_rewrite_rule( “{$list_view_template}/(.*)?”, ‘index.php?mlscrit=/list-view/$matches[1]&pagename=” . $list_view_template, “top’ ); Thanks!