You are viewing our Forum Archives. To view or take place in current topics click here.
Help With Website
Posted:

Help With WebsitePosted:

Zolfe
  • Christmas!
Status: Offline
Joined: Sep 15, 20167Year Member
Posts: 789
Reputation Power: 73
Status: Offline
Joined: Sep 15, 20167Year Member
Posts: 789
Reputation Power: 73
I have SSL but it only shows if you type the https:// before my websites name how do I fix this?

[ Register or Signin to view external links. ]
#2. Posted:
Craig
  • Rated Awesome
Status: Offline
Joined: Jan 16, 201212Year Member
Posts: 20,271
Reputation Power: 17065
Motto: 2b || !2b
Motto: 2b || !2b
Status: Offline
Joined: Jan 16, 201212Year Member
Posts: 20,271
Reputation Power: 17065
Motto: 2b || !2b
What webserver are you using?

When you set up and obtained the cert you should have set up the redirect, but clearly you didnt

Adding this to the virtual host file should suffice:
RewriteEngine on
RewriteCond %{SERVER_NAME} =websitegoeshere.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]


Make sure to change the web address in the above code.
#3. Posted:
Brandon
  • Administrator
Status: Offline
Joined: Mar 24, 201311Year Member
Posts: 2,833
Reputation Power: 30856
Motto: I may not have gone where I intended to go, but I think I have ended up where I needed to be.
Motto: I may not have gone where I intended to go, but I think I have ended up where I needed to be.
Status: Offline
Joined: Mar 24, 201311Year Member
Posts: 2,833
Reputation Power: 30856
Motto: I may not have gone where I intended to go, but I think I have ended up where I needed to be.
If you use Cloudflare for DNS you can force HTTPS rewrites.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.