-
Notifications
You must be signed in to change notification settings - Fork 136
SitemapPlugin works incorrectly on large splitted sitemaps #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Even more - |
Hello @Koc , it's working as expected. This changes (8b2fda4) was made to prevent conflicts with third party extensions. So we changed "class override" approach to plugin. By using plugin we cannot add new records to sitema.xml directly, until this issue is not releases (magento/magento2#10045). Magento 2.1.8 does not include it. So, our idea was to create separate xml for blog pages "blog_sitemap.xml". It not sould be included in sitemap.xml. Also I think that sitemap-1-1.xml missed due to less number of records, because, as I mentioned, we moved all informatoin ablout blog pages to separate xml file. To let Search Engine robots read blog_sitemap.xml, please define it in robots.txt. Example: |
Can you please add note about this into extension documentation? |
I think it is a bug. |
@mariuszjeruzal , can you confirm that you use latest blog v2.8.7 ? |
No it is 2.6.2. I see that in 2.8.7 there were changes to Sitemap.php - I will check it with the newest version and let you know |
@mariuszjeruzal , can you confirm that it is working for you on blog v2.8.7 ? |
@magefan Magento 2.2.3 Blog 2.8.7 is working correctly |
Hello.
There is some problem with 8b2fda4
Before this commit sitemap generates ok:
after
sitemap-1-1.xml
missingbut
sitemap.xml
refers to missingsitemap-1-1.xml
The text was updated successfully, but these errors were encountered: