SitemapMgr query
Posted: Fri Jul 23, 2021 12:19 pm
I'd really like to be able to use SitemapMgr to generate sitemaps, but I'm having trouble even getting started with it, unfortunately. Just trying to get a pages sitemap never does anything at all.
I have the latest cmsms 2.2.15 and the most recent module 1.7.1.
I have the config file set appropriately with root_url, ssl_url & permissive_smarty set as they should be.
The permissions throughout the site are correct and allow writing.
I have checked the Navigator template for pages and incorporated it as part of my design(just in case)
As per the default I have:
Name: Pages
Module tag: {Navigator template='cms_template:Sitemap Pages'}
Clicking the submit says it has been successful but nothing is ever created. This text is always present, "Sitemap file has not yet been created.
First create a new module template as described in the documentation.
Update the Name and Module Tag as you need it!
A new sitemap(-index) file will be created after submit."
I have reviewed the help files, no errors appear in the logs and nothings seems to happen. I can delete the automatically created Pages tab and start again with the same results.
The base sitemap does appear, along with a link to the non-existent page sitemap. Robots.txt is also created OK,
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/assets/sitemaps/sitemap-pages.xml</loc>
</sitemap>
Does anyone have any suggestions as to how I can debug this and get it working?
Thanks,
Mark.
I have the latest cmsms 2.2.15 and the most recent module 1.7.1.
I have the config file set appropriately with root_url, ssl_url & permissive_smarty set as they should be.
The permissions throughout the site are correct and allow writing.
I have checked the Navigator template for pages and incorporated it as part of my design(just in case)
As per the default I have:
Name: Pages
Module tag: {Navigator template='cms_template:Sitemap Pages'}
Clicking the submit says it has been successful but nothing is ever created. This text is always present, "Sitemap file has not yet been created.
First create a new module template as described in the documentation.
Update the Name and Module Tag as you need it!
A new sitemap(-index) file will be created after submit."
I have reviewed the help files, no errors appear in the logs and nothings seems to happen. I can delete the automatically created Pages tab and start again with the same results.
The base sitemap does appear, along with a link to the non-existent page sitemap. Robots.txt is also created OK,
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/assets/sitemaps/sitemap-pages.xml</loc>
</sitemap>
Does anyone have any suggestions as to how I can debug this and get it working?
Thanks,
Mark.