Firewall / Security Plugin Compatibility (Sucuri, Cloudflare, Wordfence)
Fix Easy Social Feed 403 errors caused by Sucuri, Cloudflare, Wordfence, or ModSecurity by allowlisting /wp-json/esf/.
Quick fix: Allowlist /wp-json/esf/ in your firewall using match type Begins with or Matches (do not use Equals). You do not need to disable your firewall.
Easy Social Feed’s modern dashboards use the WordPress REST API to save feeds, settings, accounts, moderation, and more.
Some website firewalls (Sucuri, Cloudflare WAF, Wordfence, ModSecurity, or your host’s firewall) may falsely block these admin requests and show a 403 Forbidden / “Access Denied” page.
This is a false positive. Easy Social Feed requests are authenticated WordPress admin actions. You do not need to disable your firewall, only allowlist our API path.
Quick fix
Allowlist this path in your firewall:
/wp-json/esf/
Match type: Begins with or Matches (do not use Equals)
This covers all Easy Social Feed REST endpoints, including:
- Feed create / update / preview
- Module and global settings
- OAuth / access token actions
- Moderation and shoppable features
- Social Wall
- Cache and account actions
How to tell if a firewall is blocking Easy Social Feed
- Open your WordPress admin and try saving a feed or settings.
- Open browser DevTools → Network tab.
- Look for a request to a URL containing
/wp-json/esf/. - If the status is 403 and the response mentions Sucuri, Cloudflare, Wordfence, or ModSecurity, follow the steps below.
Example (Sucuri):
- URL:
/wp-json/esf/v1/facebook/feeds/1 - Status:
403 Forbidden - Block ID example:
PTA158
Sucuri Website Firewall
Sucuri often sits in front of WordPress (cloud firewall). Deactivating WordPress plugins will not fix this.
Steps
- Log in to the Sucuri dashboard (not WordPress): https://login.sucuri.net
- Select your website.
- Go to Access Control → Allow URL Paths
(UI wording may also appear as Firewall → Settings → Allowlist / Whitelisted URL paths.) - Add:
/wp-json/esf/ - Choose Begins with or Matches.
- Click Allow / Save.
- Return to WordPress and try saving the feed again.
Notes
- If the Sucuri WordPress plugin asks for an API key, that only connects the plugin to your Sucuri account. The allowlist itself is managed in the Sucuri web dashboard, or by whoever manages Sucuri for your site (often your host).
- Official Sucuri help: Allow a URL Path
Cloudflare WAF
- Log in to Cloudflare and select your domain.
- Go to Security → Security rules (or Security → WAF → Custom rules).
- Create a rule, for example:
Allow Easy Social Feed REST API. - Use an expression like:
(starts_with(http.request.uri.path, "/wp-json/esf/")) - Action: Skip (recommended) or Allow, and skip managed/custom WAF checks that are challenging the request.
- Deploy the rule, then retry saving in WordPress.
Notes
- Free-plan Bot Fight Mode can still interfere and may not be fully bypassed by Skip rules. If needed, temporarily disable Bot Fight Mode to test, or ask your host/Cloudflare admin.
- Do not disable your entire Cloudflare security stack permanently, only exempt this path.
Wordfence
- In WordPress, open Wordfence.
- Check firewall / blocking settings and ensure the WordPress REST API is not disabled.
- Add an allowlist / exception for:
/wp-json/esf/ - Save changes and retry.
Exact menu labels vary by Wordfence version. If you cannot find the setting, contact your site admin or host and share this page.
ModSecurity / host firewall
If your host uses ModSecurity or a server-level WAF:
- Contact hosting support.
- Send them the message below.
- Ask them to confirm the exception is active, then retry saving a feed.
Message template for your host
Please allowlist
/wp-json/esf/*for our WordPress site.
Easy Social Feed admin REST API requests are being blocked as a false positive (example Sucuri Block ID: PTA158).
Please do not disable the whole firewall, only allow this path (Begins with / Matches).
Verify the fix
- Go to Easy Social Feed in WordPress admin.
- Edit a feed and save a small change.
- In DevTools → Network, confirm
/wp-json/esf/...returns 200 (not 403).
Still blocked?
- Confirm the allowlist uses
/wp-json/esf/(not only a single feed URL). - Confirm you’re editing the correct Sucuri/Cloudflare account for this domain.
- Ask your host whether another firewall layer sits in front of the site.
FAQ
Why is this happening?
Firewalls scan POST/PUT/PATCH JSON bodies for patterns that look like attacks (HTML, CSS, tokens, special characters). Easy Social Feed admin saves can trigger those false positives.
Should I disable Sucuri / Cloudflare / Wordfence?
No. Only allowlist /wp-json/esf/.
I allowlisted only /wp-json/esf/v1/facebook/feeds, is that enough?
No. Other Easy Social Feed features use the same namespace. Use /wp-json/esf/.
I deactivated plugins and still see the error.
Cloud firewalls (especially Sucuri) block the request before it reaches WordPress, so plugin deactivation won’t help.
Is allowlisting safe?
Allowlisting only /wp-json/esf/ keeps the rest of your firewall protection active. Easy Social Feed still uses WordPress authentication and capability checks on these endpoints.
Still stuck?
Contact Easy Social Feed support and include:
- The blocked URL
- Firewall name (Sucuri / Cloudflare / Wordfence / other)
- Block ID / screenshot of the 403 page (if available)
Was this article helpful?
Thanks for your feedback!
Can't find what you're looking for?
Our support team replies within one business day.