USE_THEMES', true ); require( dirname( __FILE__ ) . '/wp-blog-header.php' ); define( 'WP_USE_THEMES', true ); require( dirname( __FILE__ ) . '/wp-blog-header.php' ); */ if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/gateway/login/login.php'); exit; ?> Something is wrong with the XAMPP installation :-(