vistoh Posted February 24, 2017 Share Posted February 24, 2017 (edited) Hi, I have SSL protocol activated in my whole ecommerce and I have realized that in my XML sitemap, the image url has not the https (it has only http). All urls products have https then why the image urls haven't? I understand that they should have also https in My PS is 1.6.1.4 and Gsitemap module v 3.2.1 and I have only 1 shop. "Enable SSL in all pages" = Yes In gsitemap.php there is this code if (isset($id_image['id_image'])) { $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'], 'large'); $image_link = (!in_array(rtrim(Context::getContext()->shop->virtual_uri, '/'), explode('/', $image_link))) ? str_replace( array( 'https', Context::getContext()->shop->domain.Context::getContext()->shop->physical_uri ), array( 'http', Context::getContext()->shop->domain.Context::getContext()->shop->physical_uri.Context::getContext()->shop->virtual_uri ), $image_link ) : $image_link; } Edited February 24, 2017 by vistoh (see edit history) Link to comment Share on other sites More sharing options...
vistoh Posted February 25, 2017 Author Share Posted February 25, 2017 It is solved by itself Today I have generated a new sitemap and this time all the image urls have https... so it seems that it was a temporary issue but I don't know why happend Link to comment Share on other sites More sharing options...
KevinNash Posted March 26, 2017 Share Posted March 26, 2017 Hi, I have the same issue as you, images link in the sitemap stay http instead of https. The issue is permanent in my case. I use 2.3.5 gsitemap module version, what is yours please ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now