[Solved] htaccess redirect all pages with parameters


You could put this in your .htaccess file:

RewriteEngine On
RewriteRule ^(.+)$ home.php?page=$1 [QSA,L]

This will do what you want, except for the parameters passed, they will show up in there original form:

www.site.com/file.php?a=b&c=d -> www.site.com/home.php?page=file.php&a=b&c=d

1

solved htaccess redirect all pages with parameters