New answers tagged rewrite-tag
First, adding a rewrite tag and a query var is redundant, adding the tag adds the query var. Second, $matches corresponds to each regex pattern you have in your rule, so it should be $matches and $matches, not 2 and 4. Last, for a single member, you can just set the member query var. add_rewrite_rule( '^member/([^/]*)/book/([^/]*)/?', ...
Top 50 recent answers are included