I use the following line in .htaccess: RewriteEngine On RewriteRule ^test([0-9]*).php test.php?page=$1 [L,NC] When I try test5.php, the redirect works, but I can't get the value of parameter "page", where am I doing wrong? Thanks!