certes ! mais les tomates marchent et pas les bananes ...
visible sur un site de test ici
web1.ymalaya.com/53-escarpins-a-talon-femmes-grandes-pointures
en cliquant sur page 2 on a
http://web1.ymalaya.comhttp//web1.ymalaya.com/53-escarpins-a-talon-femmes-grandes-pointures
var_dump($_SERVER );
"array(42) {
["CONTEXT_DOCUMENT_ROOT"]=>
string(31) "/home/ymalaya2/public_html/web1"
["CONTEXT_PREFIX"]=>
string(0) ""
["DOCUMENT_ROOT"]=>
string(31) "/home/ymalaya2/public_html/web1"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["HTTP_ACCEPT"]=>
string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
["HTTP_ACCEPT_ENCODING"]=>
string(13) "gzip, deflate"
["HTTP_ACCEPT_LANGUAGE"]=>
string(5) "fr-fr"
["HTTP_AUTHORIZATION"]=>
string(0) ""
["HTTP_CACHE_CONTROL"]=>
string(9) "max-age=0"
["HTTP_CONNECTION"]=>
string(10) "keep-alive"
["HTTP_COOKIE"]=>
string(65) "ed3d9b61655d5058b78b775efdffaee8=c2862a6746a0cd54b0dc3dfbb7e779de"
["HTTP_DNT"]=>
string(1) "1"
["HTTP_HOST"]=>
string(16) "web1.ymalaya.com"
["HTTP_REFERER"]=>
string(24) "http://web1.ymalaya.com/"
["HTTP_USER_AGENT"]=>
string(114) "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56"
["PATH"]=>
string(13) "/bin:/usr/bin"
["QUERY_STRING"]=>
string(0) ""
["REDIRECT_HTTP_AUTHORIZATION"]=>
string(0) ""
["REDIRECT_STATUS"]=>
string(3) "200"
["REDIRECT_UNIQUE_ID"]=>
string(24) "VisfmVXsnA8AAElk@moAAACX"
["REDIRECT_URL"]=>
string(69) "http://web1.ymalaya.com/53-escarpins-a-talon-femmes-grandes-pointures"
["REMOTE_ADDR"]=>
string(13) "95.117.130.98"
["REMOTE_PORT"]=>
string(5) "49362"
["REQUEST_METHOD"]=>
string(3) "GET"
["REQUEST_SCHEME"]=>
string(4) "http"
["REQUEST_URI"]=>
string(46) "/53-escarpins-a-talon-femmes-grandes-pointures"
["SCRIPT_FILENAME"]=>
string(41) "/home/ymalaya2/public_html/web1/index.php"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["SERVER_ADDR"]=>
string(13) "85.236.156.15"
["SERVER_ADMIN"]=>
string(26) "webmaster@web1.ymalaya.com"
["SERVER_NAME"]=>
string(16) "web1.ymalaya.com"
["SERVER_PORT"]=>
string(2) "80"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["SERVER_SIGNATURE"]=>
string(0) ""
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["TZ"]=>
string(9) "Etc/GMT-2"
["UNIQUE_ID"]=>
string(24) "VisfmVXsnA8AAElk@moAAACX"
["PHP_SELF"]=>
string(10) "/index.php"
["REQUEST_TIME_FLOAT"]=>
float(1445666713.84)
["REQUEST_TIME"]=>
int(1445666713)
["argv"]=>
array(0) {
}
["argc"]=>
int(0)
}
"
sur Apache marche pas, sur Litespeed marche
je fais en attendant un
$j_config = JFactory::getConfig();
$live_site = $j_config->get( 'live_site' );
$url = str_replace($live_site . $live_site , $live_site, $url);
pour le form de pagination sur les ites actifs
merci