cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
New

redirecting www to https

1.flynlodge.com goes to https://www.flynlodge.com which is fine.

2, How do I get www.flynlodge.com to also go to https://www.flynlodge.com ?

 

I used the redirection tool (with or without www) and yet can't get the latter to go to the https.

I need assistance.

5 REPLIES 5
Highlighted
Helper IV
Helper IV

Re: redirecting www to https

You can try adding the http to https redirect code in your .htacess file. The instructions on how to do it are here:

 

https://www.godaddy.com/help/redirect-http-to-https-automatically-8828?

Highlighted
New

Re: redirecting www to https

Thank you DocTony.

www.flynlodge.com is still not going to https://www.flynlodge.com

flynlodge.com is still fine. it goes to https://www.flynlodge.com

 

This is the current .htaccess after implementing the change. I added the second and third lines to the previous .htaccess. Should  flynlodge.com be mentioned in those two lines and if so how do I do that?:

 

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} ^flynlodge\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.flynlodge\.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/www\.flynlodge\.com\/" [R=301,L]

 

Highlighted
Helper IV
Helper IV

Re: redirecting www to https

I am not an expert in .htaccess code. I have used the code that GoDaddy provides and it has worked for me. I wish I had more info.

 

I know there are other factors that can also impact the redirect, such as the redirect in the DNS settings, and also if there are any plugins impacting redirect.

Highlighted
New

Re: redirecting www to https

Thanks DocTony

Highlighted

Re: redirecting www to https

Did this ever get solved? This seems like a DNS issue to me. I ran a test with one of my domains and it works fine when you add a CNAME.