How to Stop Chrome from Automatically Redirecting to https
If you ever visited the https
version of a website (whether it resolved or not), Google Chrome might repeatedly send you to that version. In other words, http://local.howchoo.com:4000
continually redirects you to https://local.howchoo.com:4000
.
Why this happens
This is a secure caching issue where Chrome erroneously caches the redirect the first time you visit the secure version of a site—even if the site doesn't have a valid SSL/TLS certificate.
A pain in local development
This is a major problem in local development where you're often coding in a non-secure environment.
This short guide will show you how to remove the automatic redirect to https
in Chrome, fixing the issue.
Google Chrome | × | 1 |
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.