Sitemap errors when in enhanced cache mode
-
Hi Guys
I changed my wordpress hosting to WPX Hosting last week for my main site which has been live for eight years now, having been on three different hosting platforms, all using Apache2 webserver and for most of that time utilising W3TC’s disk enhanced mode. All other functions of W3TC have always been disabled. Browser cache, minify etc.
I love this plugin’s cache speed which is a good partner for my site.
Now on WPX hosting which I believe is a Lightspeed server, I noticed on my Google console that my sitemap for https://www.backtothemovies.com was producing HTML header information errors instead of XML.
After submitting my sitemap_index.xml over the last week several times, Google sees the xml file correctly the first time, but after approximately ten minutes, the next time sitemap_index.xml is accessed the html header error shows.
As soon as I remove the code from my htaccess file, the sitemap is once again seen as an xml file.All tests sitemap tests have been carried out from https://www.xml-sitemaps.com
Since I am using the Yoast SEO sitemap, I disabled the sitemap function and installed “Google XML Sitemaps” and this plugin also produced the same html error read behavior.
When using W3TC cache program in the basic DISK mode there are NO problems with seeing the sitemap as an xml file at any time.
When using WP-optimize cache program there are NO problems with seeing the sitemap as an xml file at any time.BUT when using W3TC in disk:enhanced mode, the errors occur.
After raising a ticket for investigation at WPX on this problem and them saying I was the first to raise this problem then it is something to do with my plugins or .htaccess file that is causing the problem.
The same plugins and htaccess file is the same as used on my previos host being Siteground….No issues in over four years.
Now, I am using temporally a cache plugin that isn’t too bad (wp-optimize), but I still prefer W3TC in enhanced cache mode.
So here is hoping you can look into my problem please and advise accordingly, as WPX hosting have now washed their hands of it.
Unable to attach two w3tc config files for you to look at.
Yoast sitemap_index.xml is being utilised.
If you need me to do anything on the site, please let me know.
Thank-you.
The page I need help with: [log in to see the link]
- The topic ‘Sitemap errors when in enhanced cache mode’ is closed to new replies.