如何防止在 chrome 和 firefox 中的本地主机上从 http 重定向到 https?

问题描述

为什么我无法再访问任何本地开发站点? Firefox 和 Chrome 都重定向到 HTTPS(localhost/site 变为 https://localhost/site 并引发错误)...

我不会在我的 localhost 开发机器上设置 SSL ......我如何防止所有浏览器重定向到 HTTPS?

解决方法

自动将 http 重定向到 https 通常是由安装新插件或证书引起的。 查看this question了解如何解决。