RewriteEngine On
RewriteBase /
# Don't apply to URLs that go to existing files or folders:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# redirect everything to index:
RewriteRule .* index.php
# Security: Don't allow browsing of directories (obsolete on 000webhost)
#Options -Indexes
Keine Kommentare:
Kommentar veröffentlichen