PDA

View Full Version : HTTPS Settings


MrMatthewAllen
05-02-2013, 10:25 PM
Hello all! I'm wanting to set my forums up so that all site links are HTTPS enabled. I've gone to "Admin>Options>Site Name / URL / Contact Details" and changed my forum URL to HTTPS. I'd like to know if there's anything additional I should do? What setting should I put the "Always use Forum URL as Base Path" to, and what would enabling/disabling that really affect (I'm not clear on what the "Help" description is trying to tell me).

Also, should I do anything with the "Redirect Domain Whitelist". Basically, my main concern is if I switch to HTTPS will there be any dead links on the forums or will anything stop working as intended? I have a near vanilla vB theme (just changed some icons) and only a countdown plugin added. Also, when I was testing changing the URL to HTTPS, whenever I clicked around a bit checking the forums out, eventually the URL would switch back to HTTP. How can I ensure that users on the site keep using HTTPS during the duration of their visit?

Would love to get some thoughts and advice on each of my questions. Thanks so much everyone!

ForceHSS
05-02-2013, 10:48 PM
Did you also change it in .htaccess file

MrMatthewAllen
05-02-2013, 11:03 PM
I have not. I admit I'm a bit inexperienced with .htaccess. Any suggestions as to what I should write in? :)

ForceHSS
05-02-2013, 11:23 PM
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L]

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forum/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]