Ich nochmal!
Kleine Korrekturen fürs Archiv ...
Im Ganzen sieht es jetzt also so aus:
# remove slash if not directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [L,R=301]
# remove dot and everything following
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_METHOD} =GET
RewriteRule (.*)\..*$ /$1 [L,R=301]
# remove index file from URL
RewriteCond %{REQUEST_FILENAME} index\.php
RewriteRule ^ / [L,R=301]
# rewrite to 'index.php' without redirect
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php
Natürlich bin ich aber auch jederzeit sehr gerne an Verbesserungs-/ Optimierungsvorschlägen interessiert.
Gruß Gunther