I have a website and I tried to rewrite links using htaccess file but the rewrited link does not work. The original link is like this :
http://my-website.com/open?cours=3em-tricks
I want to rewrite it to this form:
http://my-website.com/tuto/cours/3em-tricks/
In the .htaccess
file I write this code:
RewriteEngine On
RewriteBase /
RewriteRule ^tuto/cours/(.*)$ open?cours=$1 [N]
But I always get the 404 page in rewrited link. Note the the htaccess module is activate on server.