我在我的 xampp/htdocs/index.php 中找到了它。怎么解决?
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation :-(
注意:我的 XAMMP 安装可以运行我的本地 WordPress 安装。
尝试运行 localhost/filename.php 而不是使用给定地址运行文件,例如 c:/xampp/htdocs/filename.php 希望能解决问题。