Page 1 of 1

[solved] A small but important bug in SitemapMgr

Posted: Mon Jun 26, 2017 5:06 pm
by reinhardmohr
I just wanted to say thank you to the developers of CMSms – it‘s getting better with every release – but today I wanted to thank Rolf for making SitemapMgr. It has just saved my day.

AND: I found a bug. Maybe someone can benefit from what I found:

I am on CMSms 2.2.1 and I had used SiteMapMadeSimple in the latest version for some years. But upgrading to 2.2.1 kind of made it not work anymore (the ability to generate the modification date of every page was broken; the modification tag was empty).
So I found Rolf's SiteMapMgr, installed it and it worked! Thank you!
But when I delivered my new sitemap.xml to the Google Search Console there was an error: Google complained about the namespace declaration.
So I checked it – Rolfs template produced the secure version:

Code: Select all

https://www.sitemaps.org/schemas/sitemap/0.9
but Google expected only the unsecure version:

Code: Select all

http://www.sitemaps.org/schemas/sitemap/0.9
So I had to
• edit the templates for pages and for CGBlog manually.
• Then I had to edit manually the already created sitemap.xml.
• And in the module folder I had to edit the template für creating the sitemap.xml.

But after all: This new and great module saved my day!
Thank you, Rolf, and all the developers!
Reinhard

Re: A small but important bug in SitemapMgr

Posted: Mon Jun 26, 2017 5:14 pm
by Rolf
Thanks for the coffee and the kind words. Much appreciated.

Yeah I noticed it too...
When opening http://www.sitemaps.org/schemas/sitemap/0.9 you get redirected to the https site...
It was a (logical) user request to change it in the default templates. But I am afraid I have to change it back.

And I probably need to make a button to recreate the sitemap index file. Normally you don't need it, but just in case...

Grtz. Rolf

Re: A small but important bug in SitemapMgr

Posted: Mon Jun 26, 2017 5:20 pm
by reinhardmohr
Thank you!
Yes, a button for recreating the sitemap index file is a great idea!

Reinhard

Re: [solved] A small but important bug in SitemapMgr

Posted: Mon Jun 26, 2017 5:26 pm
by Rolf
Even though google gives this warning, it does proces the sitemaps!!! I havent changed it, and use it successfully at all my sites. No panic :)
Will update it in the next version!

Re: [solved] A small but important bug in SitemapMgr

Posted: Tue Jul 04, 2017 8:49 pm
by Rolf
SitemapMgr 1.3.1 with updated templates is released.