fix: 🐛 Updated htaccess to redirect index.php

This commit is contained in:
Noah Lancien 2026-04-21 16:50:58 +02:00
parent 39f06241b7
commit fa399e49ee

View file

@ -14,6 +14,10 @@
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Redirect /index.php/anything to /anything
RewriteCond %{THE_REQUEST} /index\.php/([^\s?]*) [NC]
RewriteRule ^index\.php/(.*)$ /$1 [L,R=301,NC]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f