I have problems with htaccess here is the following code The problem: I have the URL http://www.example.com/Clothing/ it redirects fine but http://www.example.com/Clothing/?g=a doesn't pass the g parameter($_GET['g']). Also it doesn't work with removed L I have PHP 5 and apache 2 web server. Whats the problem? Thanks
After lots of googling I found it - QSA -query string append RewriteEngine on RewriteBase / RewriteRule ^(.*)/page-([0-9]*)\.htm[l]?$ /cat.php?cat=$1&p=$2 [QSA] RewriteRule ^(.*)/$ /cat.php?cat=$1 [QSA]