Cloudflare WAF - Error when cloning template

If you get an error message when trying to clone or preview a template in the Template Editor it could be because of the Cloudflare Firewall blocking access. We've seen this problem with customers hosted by WPopt, for example.

To resolve this, go to the "Firewall" tab in CloudFlare and create the following firewall rule:

Rule name: WPRM Templates
Field: URI
Operator: Contains
Value: /wp-json/wp-recipe-maker/v1/template

You'll want to make sure to allow this connection. Save and deploy to continue.

Still not working? Then another option is to go to the "Page Rules" tab in Cloudflare and create a new one with these options:

URL: *yourwebsite.com/wp-json/wp-recipe-maker/v1/template*
Settings: Web Application Firewall = OFF

Save and Deploy to confirm.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.