Chrome Auto Redirect HTTPS

Image for post
Image for post

Are you facing an error the way I have here? It’s a local, but I get redirect all the time I go to that page. What’s the solution?

Solution is simple, just go to chrome://net-internals/#hsts -> Delete domain security policies (at very bottom of page) -> input the domain example.co.id here as example -> press delete. Then go to that link again local.example.co.id.

Image for post
Image for post
input the domain example.co.id here as example
Image for post
Image for post
Voila

BUT, still if you were redirected to https. It’s about cache in chrome.

1. Open new tab.

2. Show dev tools (inspect element) by pressing F12.

3. Go To “Network” tab, and check “Disable Cache”

Image for post
Image for post

4. Go to the URL (e.g. local.example.co.id)

I wrote these tutorials for myself in future when I forget for the next steps.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store