v1.0.14 #14

Merged
DrMaxNix merged 2 commits from dev into main 2023-09-12 13:13:47 +02:00
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
// VERSION // // VERSION //
static::$version = "1.0.13"; static::$version = "1.0.14";
// DEPENDENCIES // // DEPENDENCIES //
@ -15,7 +15,7 @@
// ROUTES // // ROUTES //
// redirect to main domain // redirect to main domain
$redirect = [ $redirect = [
["path" => "**", "redirect_domain" => "sbgg.jetzt"] ["path" => "**", "target" => "page/redirect"]
]; ];
static::$route["www.sbgg.jetzt"] = $redirect; static::$route["www.sbgg.jetzt"] = $redirect;
static::$route["selbstbestimmungsgesetz-jetzt.de"] = $redirect; static::$route["selbstbestimmungsgesetz-jetzt.de"] = $redirect;

8
page/redirect/index.php Normal file
View File

@ -0,0 +1,8 @@
<?php
// REDIRECT TO MAIN DOMAIN //
// status code
header("HTTP/1.1 301 Moved Permanently");
// location
header("Location: https://sbgg.jetzt");
?>