🔍 use 301 to redirect to main domain
This commit is contained in:
parent
d2c04cee9e
commit
7bc5a264e7
2
meta.php
2
meta.php
|
@ -15,7 +15,7 @@
|
|||
// ROUTES //
|
||||
// redirect to main domain
|
||||
$redirect = [
|
||||
["path" => "**", "redirect_domain" => "sbgg.jetzt"]
|
||||
["path" => "**", "target" => "page/redirect"]
|
||||
];
|
||||
static::$route["www.sbgg.jetzt"] = $redirect;
|
||||
static::$route["selbstbestimmungsgesetz-jetzt.de"] = $redirect;
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
// REDIRECT TO MAIN DOMAIN //
|
||||
// status code
|
||||
header("HTTP/1.1 301 Moved Permanently");
|
||||
|
||||
// location
|
||||
header("Location: https://sbgg.jetzt");
|
||||
?>
|
Loading…
Reference in New Issue