If the user types \[code\]www.example.com/Front\[/code\]OR\[code\]www.example.com/Front.php\[/code\]I want to redirect to\[code\]www.example.com\[/code\]Here's my htaccess:\[code\]RewriteEngine onDirectoryIndex Front.phpRewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+)/([^\.]+)\.php\ HTTP/RewriteRule ^([a-zA-Z0-9_-]+)/([^.]+)\.php$ http://www.example.com/$1/$2 [R=301,L]\[/code\]But for some reason, when I type \[code\]www.example.com/Front.php\[/code\] the page loads but the url doesn't change, it stays as \[code\]/Front.php\[/code\]. What do I need to add/change to make it redirect properly? Thanks