.htaccess
author Markus Bröker <broeker.markus@googlemail.com>
Thu, 12 Nov 2015 22:01:14 +0100
changeset 4 d9298ea00d20
parent 0 4869aea77e21
child 5 0cbee2939c40
permissions -rw-r--r--
Templates nutzen die neue MVC-Struktur

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*) $1/ [R,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.*)/$ [NC]
    RewriteRule ^(.*)/$ /?page=$1 [L,QSA]
</IfModule>