From b5c79ca5c1d9457d2e1ce8eb7b82828b8523c86c Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 21 Apr 2026 14:50:38 +0200 Subject: [PATCH] fix: :bug: Updated htaccess to redirect index.php --- public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 3aec5e27..198fe779 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -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