Why won't these two mod_rewrite rules work together?
- by George Edison
Here is what I have:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^users/(\d+)/post$ post.php [L]
RewriteRule ^users/(\d+)$ user.php?id=$1 [L]
The first rule doesn't work. The second one does.
All I get when I enter .../users/1/post is a 404 error.
What am I doing wrong?
Edit: The error log doesn't have anything in it relating to this.