Hello! I want to make the links friendly, but I have some problems. I want to change www.mysite.com/index.php?page=motos in www.mysite.com/motos.html
In .htacces I have written:
but it's not enough.
RewriteRule ^([a-z0-9_]+).html$ index.php?page=$1
I think that I make some changes in my php file, too. In my php file I have:
where $name could be motos or vehicles or...
How could I change href in my php file ? With preg_replace? Thank you very much!