htaccess modify headers IF url ends with “news”
I suspect REQUEST_URI is actually resolving to something like index.php?page=xxx Yes, it would seem that mod_rewrite is processed before the Apache Expression is evaluated. So, the URL has already been rewritten to index.php (the WordPress front-controller) before we get to evaluate the requested URL in the expression. However, we can get around this by setting … Read more