Manual talk:$wgForceHTTPS

About this board

https -redirection of //

1
Manbu (talkcontribs)

If i use // with an external link (MW 1.31.5) and use https with my wiki, then // is automatically redirected to https://.. -- which is not(yet) supported by all websites - and then i have a dead link ($wgForceHTTPS = false doesnt help)

Is there any entry in the localsettings which disables that - or some other solution ?

Reply to "https -redirection of //"

Why use this instead of htaccess?

2
Johnywhy (talkcontribs)

My .htaccess contains:

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Does $WgForceHTTPS make the above .htaccess unnecessary?

Johnywhy (talkcontribs)
Reply to "Why use this instead of htaccess?"
There are no older topics