Hi, struggling with the following:
I have an URL www.mycompany.com/index.php?id=10&a=1&b=2&c=3 What I want to do is using mod_rewrite have www.mycompany.com/10/?a=1&b=2&c=3 Have tried the following rewrite rules in .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^/([0-9]*)/\?(.+)$ RewriteRule ^([0-9]*)/\?(.+)$ get.php?id=$1&$2 [L] But this doesnt work, something's wrong with "?", because if I put in rule any alphabetical character, for example "Z" then www.mycompany.com/10/Za=1&b=2&c=3 works fine Thanks, Maris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php