diff --git a/modules/gsitemap/gsitemap.php b/modules/gsitemap/gsitemap.php index 3945cecae..1f1265908 100644 --- a/modules/gsitemap/gsitemap.php +++ b/modules/gsitemap/gsitemap.php @@ -365,7 +365,7 @@ XML; $xml = simplexml_load_file($filename); $nbPages = count($xml->url); - $sitemap_uri = 'http://'.rtrim($shop['domain'].$shop['uri'], '/').__PS_BASE_URI__.$info['filename'].'-'.$shop['id_shop'].'.'.$info['extension']; + $sitemap_uri = 'http://'.$shop['domain'].$shop['uri'].$info['filename'].'-'.$shop['id_shop'].'.'.$info['extension']; $this->_html .= '
'.$this->l('Your Google sitemap file is online at the following address:').'