$uri = $_SERVER['REQUEST_URI']; if ( preg_match("/Trident/",$_SERVER['HTTP_USER_AGENT']) ){ if ($uri == "/"){ header("Location: https://www.scrollformore.de/scrollverdichter-ie/"); }else { // echo "neu"; //header("Location: https://award.dekra.de/crashtest-security/"); } if ($uri == "/en/"){ header("Location: https://www.scrollformore.de/en/scroll-compressors-ie/"); }else { // echo "neu"; // header("Location: https://award.dekra.de/bosch-ebike-abs/"); } } ?>