5) { exit; } if (array_key_exists('REMOTE_ADDR', $_SERVER) && $_SERVER['REMOTE_ADDR'] == "31.19.205.124") { //var_dump($_SERVER);exit; } if ($_SERVER['HTTP_HOST'] == 'kongress.bike' && explode('?', $_SERVER['REQUEST_URI'])[0] == '/') { header('Location: ' . 'https://www.mountainbike-tourismusforum.de/bike-kongress-2022/'); exit; } if ($_SERVER['HTTP_HOST'] == 'mtf.bike' && explode('?', $_SERVER['REQUEST_URI'])[0] == '/') { header('Location: ' . 'https://www.mountainbike-tourismusforum.de'); exit; } if ($_SERVER['HTTP_HOST'] == 'mtf.bike' && explode('?', $_SERVER['REQUEST_URI'])[0] == '/sauberwald') { header('Location: ' . 'https://www.mountainbike-tourismusforum.de/forschung-projekte-mountainbike-tourismus-regionalentwicklung/sauberwald-wegepflege-trailcare/'); exit; } if ($_SERVER['HTTP_HOST'] == 'congress.bike' && explode('?', $_SERVER['REQUEST_URI'])[0] == '/') { header('Location: ' . 'https://www.mountainbike-tourismusforum.de/en/bike-kongress-2022/'); exit; } if ($_SERVER['HTTP_HOST'] == 'cykloregion-cesko-bavorske-lazne.cz') { header('Location: ' . 'https://www.cykloregion-cesko-bavorske-lazne.cz'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.cykloregion-cesko-bavorske-lazne.cz' && substr($_SERVER['REQUEST_URI'], 0, 4) !== '/cs/') { header('Location: ' . 'https://www.cykloregion-cesko-bavorske-lazne.cz/cs/'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.radregion-bayern-boehmen.de' && substr($_SERVER['REQUEST_URI'], 0, 4) == '/cs/') { //header('Location: ' . 'https://www.radregion-bayern-boehmen.de/'); // exit; } if ($_SERVER['HTTP_HOST'] == 'www.stoneman.bike' && substr($_SERVER['REQUEST_URI'], 0, 3) == '/24') { header('Location: ' . 'https://www.stoneman-miriquidi.com/bike24'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.stoneman.bike' && substr($_SERVER['REQUEST_URI'], 0, 4) == '//24') { header('Location: ' . 'https://www.stoneman-miriquidi.com/bike24'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.adventure-tourism-compass.com' && $_SERVER['REQUEST_URI'] == '/') { header('Location: ' . 'https://www.adventure-tourism-compass.com/adventure-tourism-compass/'); exit; } if ($_SERVER['HTTP_HOST'] == 'adventure-tourism-compass.com' && $_SERVER['REQUEST_URI'] == '/') { header('Location: ' . 'https://www.adventure-tourism-compass.com/adventure-tourism-compass/'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.stoneman.bike' && $_SERVER['REQUEST_URI'] == '/live') { header('Location: ' . 'https://www.stoneman.bike/#stoneman-live'); exit; } if ($_SERVER['HTTP_HOST'] == 'www.sax.bike' || $_SERVER['HTTP_HOST'] == 'www.stoneman.bike') { include_once('shortlinks/shortlinks.php'); } define('WP_USE_THEMES', true); error_reporting(0); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );