Added this now in global.php, it redirects every http:// to same URI but for https://, which is included by every other .php:
PHP Code:
if(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "off"){
$redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
header('HTTP/1.1 301 Moved Permanently');
header('Location: ' . $redirect);
exit();
}
Source: https://stackoverflow.com/questions/...https-with-php
Works pretty nice.
I had www subdomain (entire *.killtube.org) already pointed to new IP, maybe that is DNS cache. Do you still have problems with www.killtube.org?