Super Page Cache Cloudflare Permissions

Authentication Methods

The plugin supports two methods to authenticate with Cloudflare's API:

API Token (Recommended)

API Tokens provide granular access control with specific permissions for better security. To set up using an API Token:

  1. Log into your Cloudflare dashboard
  2. Navigate to My Profile > API Tokens
  3. Click Create Token
  4. Select the WordPress template
  5. Click Continue to summary
  6. Review permissions and click Create Token
  7. Copy the generated token
  8. In plugin settings:
    • Select "API Token" authentication mode
    • Paste your API token
    • Enter your domain name

The WordPress template automatically configures the required permissions, but you will also have to add two permissions manually:

  • Zone/Cache Rules: Edit
  • Zone/Transform Rules: Edit

API Key

The Global API Key provides full account access and is less secure:

  1. Log into your Cloudflare dashboard
  2. Navigate to My Profile > API Tokens
  3. Scroll down to API Keys section
  4. Click View next to Global API Key
  5. Copy the API Key
  6. In plugin settings:
    • Select "API Key" authentication mode
    • Enter your Cloudflare account email
    • Paste your Global API Key

Note: API Token is the recommended authentication method as it follows security best practices by limiting access to only required permissions.

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

Still need help? Contact Us Contact Us