diff --git a/modules/gsitemap/gsitemap.php b/modules/gsitemap/gsitemap.php index b342fab96..3945cecae 100644 --- a/modules/gsitemap/gsitemap.php +++ b/modules/gsitemap/gsitemap.php @@ -365,10 +365,11 @@ 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']; $this->_html .= '
'.$this->l('Your Google sitemap file is online at the following address:').'
- '.Tools::getShopDomain(true, true).__PS_BASE_URI__.$info['filename'].'-'.$shop['id_shop'].'.'.$info['extension'].'