Raleigh, NC · Remote supportRemote support by appointment

November 28, 2026 · Vel

How to Trace a WordPress 403 Forbidden to Its Source

WordPress 403 forbidden request traced through a CDN, web-server access rules, and application authorization checks

A WordPress 403 forbidden response means a system understood the request but refused access. It does not identify which system refused it. A content delivery network, hosting firewall, web server, or WordPress plugin can return the same status.

WordPress 403 forbidden request traced through a CDN, web-server access rules, and application authorization checks

The useful question is not which setting to disable. Ask which layer made the decision, which rule matched, and whether that denial was correct. This guide follows one blocked request across those layers. It focuses on identifying the source, rather than broadly changing permissions or rebuilding login settings.

Map the Layers That Can Refuse Access

A typical request travels from the browser through a content delivery network (CDN) to the hosting server. The server may then pass it to PHP, which runs WordPress. Some sites omit the CDN or add another reverse proxy between these layers.

A web application firewall (WAF) inspects web requests for suspicious patterns. Your CDN, hosting provider, or security plugin may each operate a separate WAF. Consequently, changing one firewall might leave the actual block untouched.

  • CDN or edge service: Blocks requests before they reach hosting.
  • Web server: Enforces path restrictions, network rules, and file access.
  • WordPress security plugin: Applies application rules or creates server-level restrictions.
  • WordPress authorization: Checks whether an account may perform an action.

An access control list (ACL) defines who can access a resource. Server ACLs differ from filesystem permissions, although either can cause a refusal. If the failure extends beyond access denials, start with this broader WordPress outage triage workflow.

Capture One WordPress 403 Forbidden Request

Before editing anything, reproduce one ordinary failing action. Use your browser’s developer tools and open the Network panel. Record the actual request that returns 403, not just the address shown in the browser.

For example, an editor page may load successfully while its background save request fails. Those requests can follow different security rules.

  • Record the time, time zone, hostname, path, and request method, such as GET or POST.
  • Note whether the visitor was signed in and which account role they used.
  • Save the status, response headers, response body, and any request identifier.
  • Record the affected network’s public IP address through an approved method.
  • Note recent rule, plugin, hosting, or account changes.

Protect this evidence. Request exports can contain session cookies, authorization headers, personal data, and security tokens. Remove secrets before sharing them outside the authorized support team.

A branded error page or server header offers a clue, not proof. Intermediaries can replace pages, preserve upstream headers, or relay a denial from another layer.

Compare Scope Before Changing Security Rules

Use a small test matrix to narrow the problem. Change one variable at a time, and avoid repeated login attempts that could trigger additional blocks.

  • Path scope: Compare a public page, a known public image, and the failing action.
  • Network differences: Compare approved office and mobile connections.
  • Affected accounts: Compare authorized users with suitable roles.
  • Browser sessions: Compare the affected session with a private window where appropriate.
  • Reading or submitting: Check whether only form submissions or saves fail.

A public image loading successfully does not prove PHP or WordPress works. Likewise, a private window succeeding does not establish a cookie problem. Different sessions can receive different firewall treatment.

Keep the path, method, and account context consistent whenever possible. Never use a privileged account simply to make an access denial disappear.

Identify CDN and Hosting Firewall Blocks

Search the CDN security events for the captured time, source IP, hostname, and request identifier. Look for the rule identifier, action, and matched request details. A matching block event provides stronger evidence than an error-page logo.

Next, check whether the hosting access log contains that same request. An edge block often prevents it from reaching the origin server. However, missing log entries alone prove little. Logging delays, filters, or the wrong server can hide a request.

If the CDN reports an upstream 403, continue investigating at the hosting layer. Ask the host to check its own WAF events, including any ModSecurity audit records.

Do not disable the whole WAF or expose the origin publicly to compare results. When necessary, ask an authorized administrator for a controlled origin test. That test must preserve the correct hostname and HTTPS identity.

For a confirmed false positive, prefer a narrow exception tied to the relevant rule and request. Give temporary exceptions an owner, expiry, and rollback plan. A genuine attack should remain blocked.

Separate Server ACLs From File Permissions

Web-server logs can distinguish configuration denials from filesystem failures. Look for messages indicating an explicit access restriction, failed path traversal, or denied file access. Interpret each message alongside the server configuration.

On Apache, inspect the relevant virtual host, directory rules, and applicable .htaccess files. On Nginx, review the matching server and location rules. Nginx does not read .htaccess files.

For filesystem failures, verify the identity that needs access. Static files and PHP requests may involve different processes. Check ownership, group membership, ACL entries, and directory traversal permissions along the full path.

A directory can also return 403 when no index file exists and directory listing remains disabled. That may represent correct protection, not broken permissions.

Avoid recursive permission changes and never apply 777 as a blanket repair. Those changes can expose sensitive files without fixing the real rule. Follow the host’s ownership model and consult the official WordPress hardening guidance. Operating-system security controls may also require investigation.

Trace WordPress Security Plugin Access Denials

Review the security plugin’s event history for the same request. Useful evidence includes a lockout reason, blocked path, matched payload pattern, or source IP restriction.

Plugins can enforce restrictions at different layers. Some run inside WordPress; others configure early-loading firewall code or write server rules. Deactivating a plugin may therefore leave its restrictions active.

Check the product’s documented recovery procedure before making changes. Preserve its settings and logs. If a controlled test requires a temporary rule change, limit that change to the confirmed false positive.

Do not rename the entire plugins directory as the first diagnostic step. That approach disrupts unrelated features and may remove protections without identifying the cause.

If an update immediately preceded the failure, compare the changed rule or component with the timeline. Our guide to diagnosing update failures by stage covers update-specific problems separately.

Check IP Restrictions and Authentication Context

An IP allowlist may reject staff after an internet address change or VPN switch. Compare the actual client address with the address each security layer records.

Behind a proxy, the origin might see the proxy address instead of the visitor. Configure client-IP handling only for trusted proxies. Trusting arbitrary forwarded headers lets visitors misrepresent their source address.

Authentication proves identity; authorization determines allowed actions. A signed-in WordPress user can still lack permission to edit a resource. Confirm the intended role and required capability rather than granting administrator access.

WordPress security tokens, called nonces, also help protect actions against forged requests. An expired or mismatched token can cause a 403 during a save. Reloading the editor may refresh it, but first preserve any unsaved work.

WordPress 403 forbidden troubleshooting should therefore separate network identity, account permissions, and request freshness. A valid password does not resolve every access decision.

Verify the Repair Across the Original Failure

Repeat the original action with the same path, method, account, and network. Confirm both the expected response and the real business result. A successful page load does not prove a save or upload completed.

  • Check that the intended user can complete the task.
  • Confirm that unauthorized access still fails.
  • Review logs for continuing blocks or unexpected bypasses.
  • Remove temporary exceptions and document the final rule change.

Record the responsible layer, matching evidence, repair, and rollback steps. This creates a useful explanation instead of a list of guesses.

Professional remote assistance may help when logs span several providers or recovery requires production security changes. Tech Rescue Ops LLC offers remote server support to help trace those boundaries while keeping access controls in place.

Need help applying this to your business?

Tell us about your systems and what you are trying to solve.

Start AI Support
Start AI Support