User:Cavila/Force request over https

LocalSettings.php
These are just requirements to allow for both http and https requests to be made:

("If the URL starts with https://, MediaWiki will assume that your wiki prefers the HTTPS protocol or supports it exclusively.")

Optionally add:

If you can access the config file on the seriver
See http://httpd.apache.org/docs/current/rewrite/avoid.html#redirect

Apache/htaccess
Leaving out RewriteEngine On

(1) Global: everything/all traffic

(2) Specific Domain

(3) Specific folder/wiki (here a folder called wiki)

(4) Also came across this:

Links

 * https://www.johnpatel.com/redirect-http-to-https/
 * http://httpd.apache.org/docs/current/rewrite/avoid.html#redirect
 * https://serverguy.com/servers/redirect-http-to-https/