if (strpos($_SERVER['REQUEST_URI'], '.html')) {
    header("Location:".$degisken);
}