SSL Is there a guide to convert from http to https?

Jim McClain

Senior Citizen
Joined
Jan 31, 2006
Messages
1,997
I have a number of websites on my Apache server, all running http, including my forum. I would like to convert them all to https prior to (or at the same time as) switching my vBulletin 3.8 forum to some other software. Is there a step-by-step guide that will walk me through the process? Is there an article here on TAZ about this process? Is there a cPanel/WHM server expert here willing to put together such a guide?

Thanks,

Jim
 

Tracy Perry

Opinionated asshat
Joined
May 25, 2013
Messages
4,991
cPanel (at least the newer versions) should have the ability to use the LetsEncrypt SSL cert in them now. I don't use cPanel (and try to avoid it like the plague) but there should be clear instructions on the cPanel support site. As for your sites, you will need to change the URL to reflect the HTTPS protocol and if they have an image proxy enable it.
You will also need to do a rewrite in your .htaccess to rewrite all inbound HTTP to HTTPS. There are plenty of examples via Google that show you how to do that.
 

Joeychgo

TAZ Administrator
Joined
Feb 28, 2004
Messages
6,942
I'm not convinced there is any real benefit for a forum to go to https
 

Jim McClain

Senior Citizen
Joined
Jan 31, 2006
Messages
1,997
Okay, but I hope people understand that I didn't start this discussion to debate the pros & cons of https. I am looking for a comprehensive guide to converting one or more sites on a server, including a forum AND/OR a site that also sells something (oh, for instance, photos, premium member benefits or doo-dads). The guide would be useful for those who feel there is a real benefit for them to convert to https. Those who do not feel the need can just ignore the discussion... hint, hint.
 

Tracy Perry

Opinionated asshat
Joined
May 25, 2013
Messages
4,991
The guide would be useful for those who feel there is a real benefit for them to convert to https. Those who do not feel the need can just ignore the discussion... hint, hint.
Then you would need multiple guides, as one for XenForo won't work with IPS, nor with WBB or any other.
The base for a cPanel is already well documented on their support site (including how to use LetsEncrypt).
Manually adding it into nginx/LiteSpeed/OpenLiteSpeed/Apache is also well documented in multiple places, so one would be spinning their wheels in recreating that information. It just takes a little research.
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,782
I'm not convinced there is any real benefit for a forum to go to https
HTTP/2 based HTTPS is what you want if you want performance and better page loading speed for forum pages :)

https://centminmod.com/http2-nginx.html

  • HTTP (non-HTTPS with nginx pagespeed disabled) = 16.138s speedindex = visual render time of 4.0.27s
  • HTTP/2 (HTTPS with nginx pagespeed disabled) = 5.0.82s speedindex = visual render time of 2.599s

upload_2016-12-11_17-28-28.png
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,782
Okay, but I hope people understand that I didn't start this discussion to debate the pros & cons of https. I am looking for a comprehensive guide to converting one or more sites on a server, including a forum AND/OR a site that also sells something (oh, for instance, photos, premium member benefits or doo-dads). The guide would be useful for those who feel there is a real benefit for them to convert to https. Those who do not feel the need can just ignore the discussion... hint, hint.
depends on server /control panels used etc. So find and search for guides for your specific server/OS/control panel and try it on 1 test domain site - perfect the method until your comfortable for that test domain. Then re-apply the steps you perfected on the rest of the sites. Each would need to be manually converted for http to https including updating Google Analytics and Google/Bing Webmaster Tools properties if they apply to you.
 

bRionZ

Neophyte
Joined
Dec 26, 2016
Messages
3
Write this code on .htaccess file, and don't forget to make a backup copy before starting every change.
Code:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
May be useful.
 

SarbjitGrewal

Aspirant
Joined
Nov 9, 2017
Messages
32
Write this code on .htaccess file, and don't forget to make a backup copy before starting every change.
Code:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
May be useful.
Yes, it is useful. I am able to redirect URL from HTTP to https.
 
Top