We have a MultiSite Wordpress project using APO. For some reason when pages are edited on sub-sites the cache isn’t being cleared for those pages. We’re using subdirectories for sub-sites. I’ve double checked that the CF plugin is activated - it’s Network Activated - and properly configured. I’m a bit at a loss for what’s happening. At this point an admin has to go in and manually clear the CF cache after page edits are done for them to be visible on the site.
Any help that anyone could provide would be greatly appreciated.
This sounds like the problem @whistles solved here: APO Wordpress Multisite - #4 by whistles
Note that this was posted 2020 and refers to this docs, which may contain more up-to-date info: https://developers.cloudflare.com/automatic-platform-optimization/reference/subdomain-subdirectories/
There is explained how to activate and install APO on a multisite setup and in what order this must be done.
For you probably the section
#Run APO on a subdirectory is important:
Run APO on a subdirectory
After you enable APO, you configure it to run on the subdirectory that uses WordPress. For example, if you have a website called
www.mysite.com which includes a subdirectory running WordPress called
mysite.com/shop , you would configure APO to run on the
- Install the Cloudflare WordPress plugin.
- Add your Cloudflare API Token.
- Activate APO.
Repeat steps 1 and 2 for each subdirectory to activate the WordPress plugin for automatic cache purging.
Hope that helps.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.