Revert "htaccess"

This reverts commit a568930531.
This commit is contained in:
Jacob 2023-06-30 23:55:40 +02:00
parent a568930531
commit 4f4c4c86b6

View file

@ -1,11 +1,6 @@
RewriteEngine On
RewriteCond %{THE_REQUEST} /index\.php/(.+)\sHTTP [NC]
RewriteCond %{THE_REQUEST} !-f
RewriteRule ^ /%1 [NE,L,R]
RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC]
RewriteRule ^ /%1 [NC,L,R]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /index.php/$1 [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index\.php($|\ |\?)
RewriteRule ^ /%1 [R=301,L]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^ %{REQUEST_URI}.php [NC,L]