Generate extension creates 999 sitemap XML files #974
Replies: 2 comments 7 replies
-
Does this also happen in a fresh installation plus sitemap? Do you know how to reproduce the problem? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the bug report. I changed how locations with arguments are handled and updated the static generator. Here are some technical explanations in case we come back to this bug later. The root cause was not a faulty layout file, but rather how we handled location arguments internally. The static generator has to generate an entire website in advance. It has to analyse and detect all pages that have tags and paginations. As far as I can see in the code base history, a defect has been introduced over two years ago. The pagination has been moved from the extension files to layout files. What should have been a mandatory exit condition has become optional. Summa summarum, the mentioned Should be fixed now, please try it out. |
Beta Was this translation helpful? Give feedback.
-
Dear Anna,
thanks for the Generate extension. I use it for a couple of websites, and I am switching completely to static sites. A great experience.
Still, there is one site that is causing me to scratch my head.
I have the latest version of Yellow Core 0.9.9 on this particular site, all extensions are up-to-date.
Sitemap 0.9.2 extension is installed, with out-of-the-box settings, and Generate 0.9.5.
So what happens is this:
After the command line (
php yellow.php generate
), the process starts (Generating static webite
).Once it reaches 90%, the process seems to pause for 3-5 minutes.
The log file does not record any errors. No error messages are displayed.
What happens during the "pause" is this:
In the /public/sitemap/ folder, the Generate extension creates:
pagesitemap.xml
file for the Googlebot (yes, that is the filename. The ":" between page and sitemap does not really show).Generating static website 100%... done Yellow generate: 1341 files, 0 errors
Is there an explanation and maybe a fix for this?
Cheers,
Carsten
Beta Was this translation helpful? Give feedback.
All reactions