I'm currently developing a website and I'd like to rewrite the URLs with htaccess. I've looked up some tutorials on how to do it, but it doesn't seem to work. This is one of the url's :
I'd like the link to become:
This is my current .htaccess file:
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)/(.*)/(.*) products.php?sub=$1&id=$2&name=$3
The problem is that the URL doesn't get rewritten. I uploaded the .htaccess file in the public-html folder (where products.php is)
Any help on this? Thanks in advance!