Tanatus Posted December 24, 2015 Share Posted December 24, 2015 (edited) Hi, After moving to a secure connection for my site I've got a new bug: The module Google Sitemap doesn't want to upgrade the sitemap file with a cron task. Only manual mode with the generation of the new sitemap file works. Also, after creation - the URL for the sitemap is http://site.com/sitemap.xml but not the https://site.com/sitemap.xml Can anyone help with this issue? Edited December 24, 2015 by Tanatus (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted December 24, 2015 Share Posted December 24, 2015 (edited) Ignore the path returned by the module, ensure that your robots.txt contains the url with the https, that the sitemap contains https, and submit the https url to google. As regarding the cron-mode, try adding &id_shop=1 at the end of the cron url Edited December 24, 2015 by doekia (see edit history) Link to comment Share on other sites More sharing options...
Tanatus Posted December 24, 2015 Author Share Posted December 24, 2015 Ignore the path returned by the module, ensure that your robots.txt contains the url with the https, that the sitemap contains https, and submit the https url to google. As regarding the cron-mode, try adding &id_shop=1 at the end of the cron url I've checked my sitemap files - all urls are with https. The image files have http, is it ok? My cron task already has id_shop=1 Generate new sitemap - works. Cron task - does not work. May be some server/hoster settings can influence this? Link to comment Share on other sites More sharing options...
doekia Posted December 24, 2015 Share Posted December 24, 2015 Exact version of gsitemap and exact version of prestashop Link to comment Share on other sites More sharing options...
Tanatus Posted December 24, 2015 Author Share Posted December 24, 2015 Exact version of gsitemap and exact version of prestashop Presta 1.6.1.2 gsitemap 3.2.0 By the way, the error is Internal server error 500 Link to comment Share on other sites More sharing options...
doekia Posted December 24, 2015 Share Posted December 24, 2015 is this a real 500 or a soft one? does anything in /logs/<date>.log ring any bell ? if hard 500 do u have access to server log? does it bring any clues? could PM me the cron url ? Link to comment Share on other sites More sharing options...
Tanatus Posted December 24, 2015 Author Share Posted December 24, 2015 is this a real 500 or a soft one? does anything in /logs/<date>.log ring any bell ? if hard 500 do u have access to server log? does it bring any clues? could PM me the cron url ? Switched to PM. Link to comment Share on other sites More sharing options...
Yenibosnaweb Posted January 19, 2016 Share Posted January 19, 2016 if your sitemap generation process does not work, please try this: close cache at performance page than try the sitemap generator again. When I experience sitemap problem I have solved by using this method Link to comment Share on other sites More sharing options...
adversor Posted January 29, 2016 Share Posted January 29, 2016 (edited) I also have some unusual behavior of the gsitemap module together with SSL. I'm using SSL only for checkout etc. No regular url should start with https in the sitemap. PS 1.6.1.1 gsitmap 3.2.0 If I indicate to include some pages in gsitemap configuration by unchecking the page (e.g. [index], [manufacturers], [sitemap]) I get get https links in the sitemap for exactly these unchecked pages. I think they should be included without https. <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"> <url> <loc><![CDATA[http://xxx.xxx.xxx/en/]]></loc> <priority>1.0</priority> <changefreq>weekly</changefreq> </url> <url> <loc><![CDATA[https://xxx.xxx.xxx/en/]]></loc> <priority>0.1</priority> <changefreq>weekly</changefreq> </url> <url> <loc><![CDATA[https://xxx.xxx.xxx/en/manufacturers]]></loc> <priority>0.7</priority> <changefreq>weekly</changefreq> </url> <url> <loc><![CDATA[https://xxx.xxx.xxx/en/sitemap]]></loc> <priority>0.1</priority> <changefreq>weekly</changefreq> </url> What happened? How can I prevent this? I don't want to edit manually the sitemaps all the time since I want to automate it with cronjob. Clearing the cache or deleting cache directory does not help. Thanks for any help. Edited January 29, 2016 by adversor (see edit history) Link to comment Share on other sites More sharing options...
cycleelcyc Posted February 5, 2016 Share Posted February 5, 2016 hi all any solution? seems cron job stopped after ssl install i am in 1.6.0.14 Link to comment Share on other sites More sharing options...
zwaantje89 Posted May 3, 2016 Share Posted May 3, 2016 Hi, I'm having the same problem. Can someone help? Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2016 Share Posted May 3, 2016 let's clarify what the problem is croon job does not have an access to file that regenerates sitemaps? Link to comment Share on other sites More sharing options...
MichalSkoula Posted January 16, 2017 Share Posted January 16, 2017 My tip - turn off image verification. Then it works, manually and also via cron. Link to comment Share on other sites More sharing options...
shopping-et-mode Posted October 22, 2017 Share Posted October 22, 2017 Hi guys, I have a weird issue with this module, v3.2.1 I set up https on my shop, and everything is working perfectly, and I forced https... But the module keeps giving me a http sitemap And all URL inside are http What can I possibly do? Thanks Link to comment Share on other sites More sharing options...
doekia Posted October 22, 2017 Share Posted October 22, 2017 The module need to be patched to cope with https (like many others) Link to comment Share on other sites More sharing options...
fitgura Posted November 7, 2017 Share Posted November 7, 2017 any possible solution please? This bug can kill a whole business, even one of the most serious problem I think. Just ran into the same problem, and have no solution however, my false "http requested" cron job just delete the manualy generated file PS 1.6.1.5 and Gsitemap 3.2.1 Link to comment Share on other sites More sharing options...
karopresta Posted November 11, 2017 Share Posted November 11, 2017 Hi, I have same problem. Only http and not https in sitemap module. Link to comment Share on other sites More sharing options...
ingrossoerisparmio Posted November 12, 2017 Share Posted November 12, 2017 Same problem. Can someone help us please? Is a serious problem... Thanks. Link to comment Share on other sites More sharing options...
karopresta Posted November 13, 2017 Share Posted November 13, 2017 In fact, I think it is only a display. When you click on generate sitemap, if you look your sitemap, it is with https. Link to comment Share on other sites More sharing options...
ingrossoerisparmio Posted November 13, 2017 Share Posted November 13, 2017 It redirect from http to https but is more correct if xml is https native. Link to comment Share on other sites More sharing options...
doekia Posted November 13, 2017 Share Posted November 13, 2017 Version of the module, version of the prestashop, url ? Link to comment Share on other sites More sharing options...
ingrossoerisparmio Posted November 13, 2017 Share Posted November 13, 2017 Prestashop: 1.6.0.5 Google sitemap v3.2.1 - by PrestaShop Also url of sitemap in robots.txt is in http (and next auto redirect correctly to https...but why not insert directly https?). Link to comment Share on other sites More sharing options...
fitgura Posted November 13, 2017 Share Posted November 13, 2017 well unfortunatrely I had no time to wait for any solution so I bought a paid module what is 100000X times better than native sitemap module ever (I know it isn't place for advert) If this is realy matter for your bisuness, do not hesitate, but spend a small fee and buy this Perfectly works on 16 and 1.7 too gzip the maps, good and clean xml codes etc.. (of course can cronjob it) link Link to comment Share on other sites More sharing options...
krtecek Posted March 27, 2018 Share Posted March 27, 2018 I changed in gsitemap-cron.php file checking of module install and it looks it works. See fig. 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