Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable website redirection to HTTPS on Chrome [closed]

I have a domain http://radiotn.com that is redirecting to HTTPS on chrome only.

I want to disable this redirection and run my website on HTTP because it contains external radio streamings that run on HTTP

The website doesn't redirect on Chrome private navigator nor in Firefox for example

I tried chrome on different devices and it always redirect to HTTPS.

In response headers there is "Non-Authoritative-Reason: HSTS"

I tried to remove it by following this thread but it didn't work: https://superuser.com/questions/565409/how-to-stop-an-automatic-redirect-from-http-to-https-in-chrome

I don't think that it's related to my chrome browser as I tried it on different devices and still get this redirection to HTTPS

I was using Cloudflare. I thought that it may related to cloudflare config.

So I changed my nameservers to redirecct directly to namecheap but this didn't solve the problem.

like image 930
mohamed Avatar asked Sep 03 '25 01:09

mohamed


2 Answers

Only solution that worked for me (trust me I tried it all)

Go to chrome://settings/content/insecureContent , add your website pattern under Allowed to show insecure content

Example:

[*.]demo.com

Note: the browser app Chrome on Android Smartphones/Tablet does not permit the changing of these settings, a workaround could be to install Kiwi browser app, it's like having Chrome desktop on your Android device. In Kiwi you can change these settings as explained in this answer.

Also note: the available patterns that can be entered are listed in this answer.

like image 83
Vineeth Avatar answered Sep 04 '25 20:09

Vineeth


Type in: chrome://net-internals/#hsts in address bar of chrome. At the bottom place the domain to delete from HSTS.

like image 42
vepman Avatar answered Sep 04 '25 18:09

vepman