lscache_wp
lscache_wp copied to clipboard
LiteSpeed Cache not compatible with All in One SEO sitemap
Hey everyone,
One of our users has reported an issue where LiteSpeed Cache is not able to parse the index of All in One SEO. We believe that this is partially because we use CDATA tags to escape the data in our sitemap, but even if we remove those, LiteSpeed Cache still isn't able to crawl the sitemap.
Another reason why this does not work is because you are using SimpleXML
to parse the XML structure of the sitemap, then pass that into an empty
check, which still results to true
even if there is a valid value.
See these two links for more info about that - https://ikriv.com/blog/?p=1856 https://try2explore.com/questions/10122221
The steps we've taken are:
- Go to LiteSpeed Cache > Crawler > Sitemap Settings
- Enter the Sitemap URL of All in One SEO in the Custom Sitemap field and Save Changes
- Click on the Map tab, and then click on Clear Crawler Map
- Refresh Crawler Map
@flschaves and I from the All in One SEO team would be more than happy to work with you on adding compatibility and figuring out a game plan to address this.
Hi @arnaudbroes & @flschaves :),
Glad to hear from you! Thanks for the report.
The issue is fixed in v4.2-rc3 https://github.com/litespeedtech/lscache_wp/commit/fe438450aed94a7a28d52433ded3ad28a7419997
I also appended your plugin to our supported plugin list.
https://github.com/litespeedtech/lscache_wp/commit/fe438450aed94a7a28d52433ded3ad28a7419997#diff-9e6e4772050998a5c0dc3c61acf3dab0a7e594566171fa5746d6b62f9598efb6R218
@hi-hai thank you! Highly appreciate the quick turn-around, and that you've added us to your list. 😄
@hi-hai looks like this issue has been reintroduced in 4.4.5. It was reported by a user of AIOSEO here (https://wordpress.org/support/topic/sitemap-xml-not-compatible-with-litespeed-cache/) and I also confirmed it myself. Works fine in 4.4.4.
I have same issue. Impossible to access to sitemap even adding on Cache - > Excludes & CDN -> Exclude Path
/(.)sitemap(.).xml /(.*)sitemap.xsl /sitemap_index.xsl /sitemap_index.xml /page-sitemap.xml /e-landing-page-sitemap.xml /job-sitemap.xml /candidate-sitemap.xml /employer-sitemap.xml
its a nightmare. sitemap.xml not loading but if use ctrl+shift+r i can see. but not google.
Hi, the Yoast SEO sitemap issue is still existing, any idea when you will fix this?