Cloud Flare Free 5 Firewall setting for wordpress

 

Expression Preview

 

(http.request.uri.path contains "/wp-login.php") (http.request.uri.path contains "/xmlrpc.php") (http.request.uri.path contains "/wp-admin/" and not http.request.uri.path contains "/wp-admin/admin-ajax.php" and not http.request.uri.path contains "/wp-admin/theme-editor.php") (http.request.uri.path contains "/wp-content/plugins/" and not http.referer contains "yoursite.com" and not cf.client.bot) (http.request.uri.path eq "/wp-comments-post.php" and http.request.method eq "POST" and not http.referer contains "yoursite.com")