RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC]
The above works only for branid=27 and If I include mutilple statements, LIKE
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC]
RewriteRule ^(.*)$ /products.php?brandid=42&pname=$1 [NC]
RewriteRule ^(.*)$ /products.php?brandid=47&pname=$1 [NC]
it will also run for brandid 27,
I tried lots of stuff but wont able to rewrite rules for mutiple brandid.
For Example:
The url http://www.3gphone.in/products.php?brandid=27&pname=Acer redirects http://www.3gphone.in/Acer