我在localhost的xampp上为wordpress创建了VirtualHost,并在httpd-vhosts.conf中添加了这段代码:
原文链接:https://www.f2er.com/php/136609.html<VirtualHost *:80> ServerAdmin webmaster@mysitefolder DocumentRoot "E:/xampp/htdocs/mysitefolder" ServerName mysitefolder ErrorLog "logs/mysitefolder-error.log" CustomLog "logs/mysitefolder-access.log" common </VirtualHost>
但是当在浏览器中输入http://mysitefolder时,它会重定向到https://mysitefolder而不会加载我的网站.如何禁用https并仅使用http?谢谢