I've got this small problem.. I have this url: www(.)mydomain/category/234.php Want to use htaccess to call this page: www(.)mydomain/category/index.php?topic=234 I tried to use this rewrite rule to do it.. RewriteRule ^([0-9]+).php$ index.php?go=topic&id=$1 [L,NC] And it didn't work. So I did a small test to see if the rule is working. I've replaced .php with .html so calling www(.)mydomain/category/234.html with this rule RewriteRule ^([0-9]+).html$ index.php?go=topic&id=$1 [L,NC] and it worked, But this is not what I'm looking for. Is there something I'm missing?