Page 1 of 1

Please help with this url rewrite issue! Trying for two days

Posted: Thu Mar 26, 2009 6:43 pm
by mobsterstats
http://ourwebsite.com/test/details.php? ... l=$3&id=$4

trying to rewrite the above link to the following below

http://ourwebsite.com/test/details/2...civic/23450003

below is what i have for my .htaccess in the test folder

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/test/details/(.*)/(.*)/(.*)/(.*$)/ test/details.php?year=$1&make=$2&model=$3&id=$4

Would like to also know how i convert it in php!

Model names with spaces will be str_replaced with -

Thanks for your help!

Re: Please help with this url rewrite issue! Trying for two days

Posted: Fri Mar 27, 2009 12:13 am
by sujithtomy