Gunther: Benötige bitte doch noch Hilfe - danke!

Beitrag lesen

Ich schon wieder!

Dieses Modul werde ich wohl in diesem Leben nicht mehr verstehen ...!

Jetzt wird alles was kein File oder Directory ist radikal auf 'http://example.com' redirected ...!

Also brauche ich bitte doch noch eure Hilfe - danke!

Mein aktueller Stand:

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

  
  
Gruß Gunther