Switch between secure and non-secure server in Joomla versions 1.4 and lower.
Switching between secure and non-secure servers in Joomla versions 1.4 and lower.
Step:1
This can be done in configuration.php OR in index.php just after the line define( ‘_VALID_MOS’, 1);
In configuration.php, replace
$mosConfig_live_site=”http://www.xyz.com”;
with
if ($_SERVER[”SERVER_PORT”] == “443″){
$mosConfig_live_site=”https://www.xyz.com”;
[…]

