Cache Preload Sitemap URL
-
One of the settings in the Page Cache settings is for the sitemap URL in the Cache Preload section. Are you able to just enter a relative URL here, such as /sitemap_index.xml? I also noticed that the W3TC settings file uses {wp_content_dir} for other settings. Could I input the following in the Page Cache setting field: {wp_content_dir}/../sitemap_index.xml ? If I do that, the exported setting seems to output as expected (“pgcache.prime.sitemap”: “{wp_content_dir}\/..\/sitemap_index.xml”), but I’m not sure how to test if this setting is properly configured and W3TC is using the sitemap to prime the cache. How can you test if the cache has actually been primed?
My goal is to have a general settings file that I can just import with each new site without having to change this setting to the correct domain each time.
Thanks for any advice or suggestions!
- The topic ‘Cache Preload Sitemap URL’ is closed to new replies.