wohhie
9/17/2016 - 9:50 PM

1and1 solution for htaccess file.

1and1 solution for htaccess file.

<IfModule mod_rewrite.c>
    RewriteBase /

       Options -MultiViews


    RewriteEngine On

    #1and1 to enable PHP 5.4
    AddHandler x-mapp-php6 .php

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ /index.php [L]
</IfModule>