I've done a lot of research but I did not find the solution to my problem.
I have an htaccess in the following format:
RewriteEngine On
RewriteRule fotos$ arc_fotos.php
RewriteRule fotos/$ arc_fotos.php
RewriteRule minha-area/$ arc_minha_area.php
RewriteRule minha-area/fotos$ arc_minhas-fotos.php
When I access the address mydomain.com / photos - > photo page (arc_photos) OK
But when I access the address mydomain.com / my-area / photos it goes to arc_fotos.php being that I want it to go to arc_minhas_fotos.php
The same thing happens when:
RewriteEngine On
RewriteRule blog/$ arc_blog.php
RewriteRule esqueci esqueci_senha.php
When the user accesses mydomain.com/blog/a-pagina-com-url-inesqueci he interprets in ESQUECI vel and goes to the page forget_password.php
Can anyone help me to avoid this kind of conflict?