What is causing this completely bizarre behavior with mod_rewrite?
- by George Edison
Here is my rule:
RewriteRule ^user/(\d+)$ rewrite.php?id=$1
This redirects, but $_GET['id'] is not set. If I change the above rule to:
RewriteRule ^anything/(\d+)$ rewrite.php?id=$1
It works. Why does one work but not the other?
Here is more information:
There is no directory named user
The only other .htaccess file in the hierarchy is blank.