Hi at vB,
I am planning to update our site Australian Photoholics Forum "ausph.com" to SSL.
Last time we tried this, we broke our site which was down for a week!
Everyone here was very helpful and we got the site up and running and it's now working fine.
We have a free SSL certificate and I received the following instructions from our host (HostGator) to force SSL.
------------------------------------------------------------------------------
Add the following code in the .htaccess file to force SSL.
------------------------------------------------------------------------------
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ausph.com/$1[R=301,L]
------------------------------------------------------------------------------
I notice that the code is slightly different to what is in the current .htaccess file (marked with ??)
Can you advise as to which code I should use?
*** first section of .htaccess file for "ausph.com" located in the "public_html" folder:
-------------------------------------
<IfModule mod_rewrite.c>
RewriteEngine On
#To redirect users to the secure version of your site, uncomment the lines below
?? #RewriteCond %{HTTPS} !=on
?? #RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
-------------------------------------
I have read the vB Forum instructions for installing the SSL via AdminCP in our vBulletin software (our version is 5.4.3) which are:
----------------------------------------------------------------------------------------------------------------------------
I HAVE MY CERTIFICATE INSTALLED - WHAT NEXT?
vBulletin 5
Go to vBulletin Options > vBulletin Options > Site Name / URL / Contact Details.
Edit these three settings: 'vBulletin URL'; 'Login URL'; 'Core URL' and add the 's' into the URL.
For example, if your URL is http://www.contoso.com/forum, change it to https://www.contoso.com/forum
NOTE: Do not remove the word 'core' at the end of the core URL. You will break your site!
Then go to Settings > Options > Server Settings & Optimization Options > Use Remote jQuery
Set this to Google.
The key to all three vBulletin versions is that all you do in the URL settings is change http to https. Do not alter any other part of the URL.
Once you have changed these settings, go to AdminCP > Maintenance > General Update Tools, and rebuild the styles. (In vB3 this is AdminCP > Maintenance > Update Counters). Leave the default settings and just run this update tool.
----------------------------------------------------------------------------------------------------------------------------
Do I change the .htaccess file first THEN do the vB changes, or the other way around?
Can the changes be UNDONE if it breaks our site?
Do I need the site OFFLINE before making the changes?
I am planning to update our site Australian Photoholics Forum "ausph.com" to SSL.
Last time we tried this, we broke our site which was down for a week!
Everyone here was very helpful and we got the site up and running and it's now working fine.
We have a free SSL certificate and I received the following instructions from our host (HostGator) to force SSL.
------------------------------------------------------------------------------
Add the following code in the .htaccess file to force SSL.
------------------------------------------------------------------------------
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ausph.com/$1[R=301,L]
------------------------------------------------------------------------------
I notice that the code is slightly different to what is in the current .htaccess file (marked with ??)
Can you advise as to which code I should use?
*** first section of .htaccess file for "ausph.com" located in the "public_html" folder:
-------------------------------------
<IfModule mod_rewrite.c>
RewriteEngine On
#To redirect users to the secure version of your site, uncomment the lines below
?? #RewriteCond %{HTTPS} !=on
?? #RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
-------------------------------------
I have read the vB Forum instructions for installing the SSL via AdminCP in our vBulletin software (our version is 5.4.3) which are:
----------------------------------------------------------------------------------------------------------------------------
I HAVE MY CERTIFICATE INSTALLED - WHAT NEXT?
vBulletin 5
Go to vBulletin Options > vBulletin Options > Site Name / URL / Contact Details.
Edit these three settings: 'vBulletin URL'; 'Login URL'; 'Core URL' and add the 's' into the URL.
For example, if your URL is http://www.contoso.com/forum, change it to https://www.contoso.com/forum
NOTE: Do not remove the word 'core' at the end of the core URL. You will break your site!
Then go to Settings > Options > Server Settings & Optimization Options > Use Remote jQuery
Set this to Google.
The key to all three vBulletin versions is that all you do in the URL settings is change http to https. Do not alter any other part of the URL.
Once you have changed these settings, go to AdminCP > Maintenance > General Update Tools, and rebuild the styles. (In vB3 this is AdminCP > Maintenance > Update Counters). Leave the default settings and just run this update tool.
----------------------------------------------------------------------------------------------------------------------------
Do I change the .htaccess file first THEN do the vB changes, or the other way around?
Can the changes be UNDONE if it breaks our site?
Do I need the site OFFLINE before making the changes?
Comment