I have a problem where my site url is as below;
myhomesite.ext/listino/macchine/listino/marca.php?marca=Audi
and I want to obtain an url similar as follows
myhomesite.ext/listino/macchine/listino/marca-Audi/
So, I try with the following code
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
</IfModule>
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^marca/([a-zA-Z0-9]+)/$ marca.php?marca=$1
</IfModule>
but nothing happened, I don't understand and please point me out where is my mistake.
This is my latest add from the comment
Oh yes it's correct i am trying several solutions, but now i 've tried this code from one generator tool it's
Options +FollowSymLinks
RewriteEngine on
RewriteRule marca/marca/(.*)/ marca.php?marca=$1
RewriteRule marca/marca/(.*) marca.php?marca=$1
if i go on mediasportweb.com/macchine/listino/marca/marca/15 i find the url, with many problem on page on the css style, but i find it, but i also find the url mediasportweb.com/macchine/listino/marca.php?marca=15, i think that directive rewrite url erase the old url, what is wrong in my think?