add_rewrite_rule() driving me crazy, rewrite not working when analyzer says it should
Your external rule doesn’t work because you’re using a format that only works for internal rules- $matches[1] is essentially nonsense in the context of an .htaccess file. Using the $matches array will only work when rules are parsed by PHP, external rules need to use the standard $1 instead of $matches[1]. Any rule that doesn’t … Read more