Use "purge" under WordPress for different domains

#1

Hi,
I am using WordPress with different domains for every language (eg. domain.de for German and domain.eu for English).
How can I setup the WP-plugin/cloudflare to be able using the purge button in WP to purge all domains together?
Thanks for helping.
Best regards
Leng

#2

You can’t purge multiple zones (domains) at once, as they are different “containers” at Cloudflare. You would have to write your own Purge-All script using the API and purge each Zone individually.

https://api.cloudflare.com/#zone-purge-all-files

2 Likes
#3

Thank you for your quick help.

1 Like
closed #4

This topic was automatically closed after 30 days. New replies are no longer allowed.