All credit to: ArticWolf
Ok this is an simple mod to change the siteurl if using https
in thory should fix issues while browsers stating an mix of secure data and insecure data.
in confg.php
change:
To
after that add:
now farther down change:
To
keep the old url for the announce_list aka
Ok this is an simple mod to change the siteurl if using https
in thory should fix issues while browsers stating an mix of secure data and insecure data.
in confg.php
change:
$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domainTo
if($_SERVER['SERVER_PORT'] != '443')
$site_config['SITEURL'] = 'http://changemydomain.com'; //Main Site URL changemydomain.com to well your domain
else
$site_config['SITEURL'] = 'https://changemydomain.com'; //Main Site URL changemydomain.com to well your domainafter that add:
$site_config['TSITEURL'] = 'http://changemydomain.com'; //Main Tracker URLnow farther down change:
$site_config['PASSKEYURL'] = "$site_config[sITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkeyTo
$site_config['PASSKEYURL'] = "$site_config[TSITEURL]/announce.php?passkey=%s"; // Announce URL to use for passkeykeep the old url for the announce_list aka
$site_config['announce_list'] = "http://mydomain/announce.php";
