From e2b8a6db6e30696597fad06bcce2197afee580ba Mon Sep 17 00:00:00 2001 From: K Muller Date: Tue, 21 Apr 2026 09:27:28 +0200 Subject: [PATCH] fix: :lock: add redirection on htaccess --- public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index d2dcbc1f..d290395a 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,6 +5,10 @@ RewriteEngine On + # Redirect /index.php/anything to /anything + RewriteCond %{THE_REQUEST} /index\.php/([^\s?]*) [NC] + RewriteRule ^index\.php/(.*)$ /$1 [L,R=301,NC] + # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]