Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-22-2012, 03:49 AM #1
- Join Date
- May 2012
- Thanked 0 Times in 0 Posts
why my .htaccess only accepts one parameter ?
I'm new to .htaccess thing, this is my first actually. So here we go, i have .htaccess located on my subdomain (store.domain.com). I have problem to rewrite the url with more than one parameter to be seo friendly.
here is the .htaccess
Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*).html$ type.php?type=$1 RewriteRule ^(.*)/(.*).html$ floor_tile.php?type=$1&name=$2&id=$3 RewriteRule ^product/(.*).html$ product-detail.php?name=$1&id=$2
For the firstrule i want to create => store.domain.com/type.html
For the second rule i want to create => store.domain.com/type/name.html
For the third rule i want to creat => store.domain.com/product/name.html
I really need help here, i tried so many generator and came up with nothing.
Thanks in advance guys...