New Joe Well-known member Nov 19, 2014 #1 Say I wanted to change from http to https how would that affect the links? Would I need some kind of redirect in place? How easy is it? Thanks
Say I wanted to change from http to https how would that affect the links? Would I need some kind of redirect in place? How easy is it? Thanks
Paul B XenForo moderator Staff member Nov 19, 2014 #2 It just requires an .htaccess rewrite. Upvote 0 Downvote
New Joe Well-known member Nov 19, 2014 #3 Brogan said: It just requires an .htaccess rewrite. Click to expand... Ok, thanks. Any idea what it would be for the .htaccess rewrite code? Upvote 0 Downvote
Brogan said: It just requires an .htaccess rewrite. Click to expand... Ok, thanks. Any idea what it would be for the .htaccess rewrite code?
MattW Well-known member Nov 19, 2014 #4 This will force HTTPS Code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] or this one to remove www Code: RewriteCond %{HTTP_HOST} ^(www\.)(.+) [OR] RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(www\.)?(.+) RewriteRule ^ https://%2%{REQUEST_URI} [R=301,L] Upvote 0 Downvote
This will force HTTPS Code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] or this one to remove www Code: RewriteCond %{HTTP_HOST} ^(www\.)(.+) [OR] RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(www\.)?(.+) RewriteRule ^ https://%2%{REQUEST_URI} [R=301,L]
New Joe Well-known member Nov 19, 2014 #5 Does using SSL slow down a website? Are there any disadvantages of using it? Upvote 0 Downvote
MattW Well-known member Nov 19, 2014 #6 New Joe said: Does using SSL slow down a website? Are there any disadvantages of using it? Click to expand... It depends. With nginx and spdy, it's faster. 99% of the time with Apache, you'll not really notice a difference. There is still the SSL handshake overhead to the connections, but that's going to be negligible on most internet connections now days. Upvote 0 Downvote
New Joe said: Does using SSL slow down a website? Are there any disadvantages of using it? Click to expand... It depends. With nginx and spdy, it's faster. 99% of the time with Apache, you'll not really notice a difference. There is still the SSL handshake overhead to the connections, but that's going to be negligible on most internet connections now days.
MattW Well-known member Nov 19, 2014 #8 https://developers.google.com/speed/spdy/mod_spdy/ Upvote 0 Downvote