Jump to content

Error In Google Sitemap Module After Activation Of Ssl / Https On Prestashop Site


Recommended Posts

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 by Tanatus (see edit history)
Link to comment
Share on other sites

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

  • 4 weeks later...
  • 2 weeks later...

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 by adversor (see edit history)
Link to comment
Share on other sites

  • 2 months later...
  • 8 months later...
  • 9 months later...
  • 3 weeks later...

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

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

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...