Hi,
Thank you for your feedback.
Change the code:
if(!empty($parsedCurrent['port']) && $parsedCurrent['port']!= 80){
$endUrl = ':'.$parsedCurrent['port'].$endUrl;
}
if(isset($parsedCurrent['path']) && !preg_match('#^/?'.$parsedCurrent['path'].'#',$endUrl))
$parsedCurrent['path'] = preg_replace('#/$#','',$parsedCurrent['path']);
else
$parsedCurrent['path'] = '';
$cleanUrl = $parsedCurrent['scheme'].'://'.$parsedCurrent['host'].$parsedCurrent['path'].$endUrl;
return $cleanUrl;
to:
$port = '';
if(!empty($parsedCurrent['port']) && $parsedCurrent['port']!= 80){
$port = ':'.$parsedCurrent['port'];
}
if(isset($parsedCurrent['path']) && !preg_match('#^/?'.$parsedCurrent['path'].'#',$endUrl))
$parsedCurrent['path'] = preg_replace('#/$#','',$parsedCurrent['path']);
else
$parsedCurrent['path'] = '';
$cleanUrl = $parsedCurrent['scheme'].'://'.$parsedCurrent['host'].$port.$parsedCurrent['path'].$endUrl;
return $cleanUrl;
in the file administrator/components/com_hikashop/helpers/helper.php and that should fix the problem.