Knowledgebase: CDSEO Pro
Why are my users online urls mostly just cdseopro.php?
Posted by Nick Poindexter on 04 March 2010 04:26 PM
X-Cart's reliance on PHP_SELF instead of REQUEST_URI can cause problems with some server configurations.

To correct this open: init.php

FIND:

$php_url = array("url" => "http".($HTTPS=="on"?"s://".$xcart_https_host:"://".$xcart_http_host).$PHP_SELF, "query_string" => $QUERY_STRING);

REPLACE WITH:

// WCM - CDSEO Compatibility
#$php_url = array("url" => "http".($HTTPS=="on"?"s://".$xcart_https_host:"://".$xcart_http_host).$PHP_SELF, "query_string" => $QUERY_STRING);
$php_url = array("url" => htmlentities($_SERVER['REQUEST_URI'], ENT_QUOTES), 'query_string' => $QUERY_STRING);

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