Skip to content

Google Chrome Redirect http to https – HSTS

Google Chrome sometimes does its job too well because it tries to keep you safe by always choosing to use the Https version of pages if it knows the domain uses them. The automatic Google Chrome redirect is normally a great feature because it keeps your security in mind, but it can be a pain when you are trying to make sure that redirects to your own site are occurring as they should be. This will help you by teaching you how to stop Google Chrome from automatically redirecting in certain cases.

How to Stop Google Chrome from Auto-Redirecting Http to Https

The automatic Google Chrome redirect can be annoying, it happens because of a feature called HSTS (HTTP  Struct Transport Security).

It is kind of a cool feature because if Chrome knows about an Https:// version of a page it will automatically use that instead of the Http:// (non-secure) version.

This is good because it keeps you safe.

It's bad because Chrome will NOT respect your request to go to the HTTP version of the page and will instead go to the https version of the page even if you specifically type Http://.

Why is this a problem?

I’m sure you’ll agree that if you are attempting to troubleshoot problems with your site you don’t want the tool (Chrome) you are using to lie to you making you think everything is okay, do you?

You need to know that ALL requests that are going to your Http:// addresses are being redirected to your Https:// addresses at your server.

Why?

So that Google, your visitors, and everything else gets redirected to your page’s preferred address!

First, you need to make sure Chrome isn’t lying to you.

Here’s how you do that:

  • Open a new Chrome tab
  • In the address bar type: chrome://net-internals/#hsts
  • Under the “Delete domain” heading, type in your domain and click delete

Chrome redirect http to https hsts fix

I know that may seem scary, but all you are doing is removing the domain from Chrome so that the Chrome redirect doesn’t auto-forward to Https.

Now, in your address bar, put in the URL you are attempting to troubleshoot and make sure that it does NOT start with Https://.

In fact, to guarantee you are going to the right place you should make sure instead it starts with Http://[the rest of the URL here].

If you’ve done all that and you STILL end up back at the Http version of your page then you have more work to do.

http vs https example address bar

The picture above shows what you will typically see.

The one on the right is the desire, the one on the left is not.

Fix Your Http:// to Https:// Chrome Redirect Issues

Now that you know you have a problem, check out How to Redirect Http to Https Using a Permanent 301

Be Fearless, Engage!

Were you able to follow these instructions and fix your Chrome redirect problem, or do you have more questions?

Spread the love