This one i find really hard.
RewriteRule ^Retete/$ /retete.php
RewriteRule ^Retete/(.*)/$ /retete_disp.php?cat=$1
RewriteRule ^Retete/(.*)/(.*)/$ /retete_disp2.php?id=$2&cat=$1
The first 2 rules work
when i type mydomain.com/Retete/ it goes to ->retete.php
when i type mydomain.com/Retete/category/ -> retete_disp.php?cat=category
but when i try
mydomain.com/Retete/category/2/ it does not access the file retete_disp2.php?id=2&cat=category instead id goes to
mydomain.com/Retete/category/2/retete.php
However if i change the last rule to
RewriteRule ^Retete->/(.*)/(.*)/$ /retete_disp2.php?id=$2&cat=$1
and access mydomain.com/Retete->/category/2/ it works fine. I really don't understand how this goes. Please help me.