add redirect
This commit is contained in:
parent
ba428077fd
commit
7b576c5ae4
|
@ -1,5 +1,12 @@
|
|||
<?php
|
||||
|
||||
if (in_array($_SERVER['SERVER_NAME'], ['deblan.io', 'deblan.tv', 'www.deblan.tv'])) {
|
||||
header("HTTP/1.0 301 Moved Permanently");
|
||||
header("Location: https://www.deblan.io".$_SERVER['REQUEST_URI']);
|
||||
|
||||
die;
|
||||
}
|
||||
|
||||
use App\Kernel;
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
use Symfony\Component\ErrorHandler\Debug;
|
||||
|
|
Loading…
Reference in New Issue