Redirect with PHP instead of .htaccess

This commit is contained in:
Pierre Rudloff 2015-01-07 10:42:44 +01:00
parent 39f81c3674
commit 816b556c65
7 changed files with 32 additions and 7 deletions

View file

@ -1,5 +1 @@
AddType application/x-web-app-manifest+json .webapp
RewriteEngine On
RewriteCond %{REQUEST_URI} !=/maintenance.php
RewriteRule ^(.*)\.php$ /maintenance.php [R=301]
RewriteRule ^$ /maintenance.php [R=301]