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
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
The first rule is doing great. The second and third are not.
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...