Without www https is not working

**My website URL is:**www.protechtion.in

**What I’m seeing is:**I have configured SSL. It is working only when I am typing my address with “www”. How can I fix this issue?

**I’m using this software:**web browser (Chrome, Mozilla, Opera, IE)

**Additional information:**I have configured SSL. It is working only when I am typing my address with “www”. How can I fix this issue?

For me it’s working from both non-www and www versions. If it doesn’t work from the non-www version, please clear your browser cache, flush your DNS cache or, if it still doesn’t work, configure a faster DNS resolver, like 1.1.1.1, OpenDNS or Google Public DNS on your device.

3 Likes

Dear,

I have tried all but still it is not working. Try again at your site with protechtion.in and www.protechtion.in.

www.protechtion.in is taking automatically https but protechtion.in is not taking auto.
Please do not put https manually.
thank you.

The hosting platform itself does not enforce any kind of automatic HTTPS redirects. We provide the ability to use SSL on your website, but it’s up to you to decide how your website uses it.

Clearly, there is some kind of HTTPS redirection code on your website which redirects people visiting www.protechtion.in to the HTTPS version of your site. Maybe you can configure this redirection to also work on protechtion.in? I don’t know what software you are using, so I don’t know how you need to configure this. Maybe the documentation of the software you’re using has more information about this?

Please see this knowledge base article about the subject too:

https://infinityfree.net/support/how-to-force-all-traffic-to-https/

2 Likes

Thank you for your support. Now it is working properly. I have added these lines to my .htaccsess file

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

To me is working www.protechtion.in and protechtion.in

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.