Cloudflare Bot Fight Mode Blocking Requests (403 Error)

If you're receiving a 403 Forbidden error when trying to connect your WordPress site to Outrank, Cloudflare's Bot Fight Mode may be blocking legitimate API requests from our servers. This guide provides two solutions to resolve this issue.

Solution 1: Disable Bot Fight Mode

The simplest solution is to disable Cloudflare's Bot Fight Mode entirely. This is recommended if you don't rely heavily on bot protection or if you have other security measures in place.

Step 1: Access Cloudflare Dashboard

  1. Log in to your Cloudflare account at cloudflare.com
  2. Select your domain from the dashboard

Step 2: Navigate to Security Settings

  1. Click on "Security" in the left sidebar
  2. Select "Settings" from the submenu
    Cloudflare Security Settings navigation

Step 3: Disable Bot Fight Mode

  1. Find the "Bot Fight Mode" toggle
  2. Switch it to "Off"
    Cloudflare Bot Fight Mode toggle
  3. The change takes effect immediately
OR

Solution 2: Add IP Access Rule (Recommended)

This solution allows you to keep Bot Fight Mode enabled while specifically allowing requests from Outrank's server. This is the recommended approach as it maintains your security while enabling the integration.

Step 1: Get Your Zone ID

  1. Log in to your Cloudflare dashboard
  2. Select your domain
  3. On the Overview page, scroll down to the right sidebar to find the "API" section
  4. Copy the Zone ID (a 32-character string)
    Cloudflare Zone ID location

Step 2: Create an API Token

  1. Go to Cloudflare API Tokens
  2. Click "Create Token"
  3. Select "Create Custom Token" and click "Get started"
    Cloudflare Create Token button
  4. Configure the token with these permissions:
    • Token name: Outrank IP Whitelist (or any name you prefer)
    • Permissions: Zone → Firewall Services → Edit
    • Zone Resources: Include → Specific zone → [Your domain]
    Cloudflare Create Custom Token option
  5. Click "Continue to summary" and then "Create Token"
    Cloudflare token permissions configuration
  6. Important: Copy the token immediately - it won't be shown again
    Cloudflare API token copy screen

Step 3: Create IP Access Rule

Use the form below to create the IP Access Rule.

IP Access Rule Setup

Outrank's server IP (cannot be changed)

Verification

After applying either solution, return to Outrank and test your WordPress integration again. The 403 error should be resolved and the connection test should succeed.

Where to Find Your IP Access Rule

To verify the rule was created or to manage it later, go to your Cloudflare dashboard:

  1. Select your domain
  2. Navigate to Security → Security Rules
  3. You'll see the Outrank IP Access Rule in the list
    Cloudflare IP Access Rules list

Still Having Issues?

Error persists after whitelisting

Check if you have additional security plugins on WordPress (like Wordfence or Sucuri) that may also be blocking requests. You may need to whitelist the IP there as well.

API Token not working

Ensure your API token has the correct permissions (Zone → Firewall Services → Edit) and is scoped to the correct zone. Try creating a new token if issues persist.

Multiple Cloudflare accounts

Make sure you're logged into the correct Cloudflare account that manages your domain's DNS.

Let's Try!

Start creating magic today with a free trial!