Posts by Cernuno • 46 points
1 post
-
3
votes1
answer701
viewsA: Use . htaccess in a directory with file and folders of the same name
Try to see it that way: # Reescreve as solicitações .php originais em novas URLs RewriteCond %{THE_REQUEST} \ /([^.]+)\.php [NC] RewriteRule ^ /%1/ [R,L] # Força a adição da trailing slash…