How to Fix the Automatic HTTPS Redirection After Entering an HTTP Address in Google Chrome

云泽 发布于 2024-03-06 973 次阅读 最后更新于 2025-06-13


AI 摘要

Chrome输入HTTP却强制跳转HTTPS?推荐删除HSTS配置解决!步骤:访问chrome://net-internals/#hsts,输入域名删除。另有调整权限、关闭安全连接等方案,轻松解除HTTPS强制重定向困扰。

Introduction

The method I recommend the most is Method One. For Edge, simply use edge://net-internals/#hsts.


How to Solve the Forced HTTPS Redirection Issue in Google Chrome

When using a browser, you may encounter the issue where you want to visit an HTTP page, but it automatically redirects to an HTTPS page, which can be very inconvenient for websites that only support HTTP.

Possible causes:

  1. The browser has previously accessed a site with an HTTPS certificate or the site has enabled HSTS.
  2. The browser is configured to always use a secure connection.
  3. A plugin might be forcing the use of HTTPS (unlikely but possible).

Here are the steps you can take to try to resolve the issue:

Method One: Delete HSTS Configuration

Google Chrome forces HTTPS redirection through HSTS. You can delete the HSTS configuration for a specific domain by following these steps:

  1. Type chrome://net-internals/#hsts in the address bar and press Enter.
  2. In Delete domain security policies, enter the domain that is being redirected to HTTPS (e.g., example.com).
  3. Click Delete.

Note: For Edge, replace chrome with edge. During my tests, entering chrome://net-internals/#hsts in Edge automatically redirects to the correct page.

HSTS Deletion Process

Method Two: Adjust Website Permissions

If the HTTPS redirection issue occurs only on a specific site, you can solve it by adjusting the site permissions:

  1. Click the “lock” or “settings” icon in the address bar and select Site Settings.
  2. In the Insecure content section, select Allow. Steps are as follows:

Site Settings Button Adjust Permissions Option

Method Three: Disable the “Always Use Secure Connection” Option

If multiple sites are affected by this issue, you can disable the global “Always use secure connection” option in the browser:

  1. Open the browser Settings and search for Secure Connection.
  2. Find the option for Always use secure connection and turn it off.

Note: I couldn’t find this option in Edge.

Disable Secure Connection Option Settings Interface Screenshot

Method Four: Check Extension Settings (Low Probability)

Certain extensions might force HTTPS redirection. Here’s how to troubleshoot:

  1. Type chrome://extensions/ in the address bar and press Enter to open the extension manager.
  2. Look for extensions with names related to HTTPS or HTTP.
  3. Disable or remove the extension.
  4. Reload the website.
*这是一则由 Google AdSense 自动推荐的广告,不代表本站立场
*这是一则由 Google AdSense 自动推荐的广告,不代表本站立场