Knowledgebase
I use CDSEO Pro and my site is not redirecting properly from https to http (4.2.x)
Posted by Nick Poindexter on 04 March 2010 04:33 PM
If you're using CDSEO and your site is not redirecting properly from https to http, it is likely because your server has a problematic implementation of the $PHP_SELF variable used by x-cart. You can correct this with the following code change:
OPEN https.php:

Find the code:

$current_script = "/".basename($PHP_SELF.'?'.$QUERY_STRING);

Replace with:

#$current_script = "/".basename($PHP_SELF.'?'.$QUERY_STRING);
$current_script = $_SERVER['REQUEST_URI'];

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: