Skip to content

WP Rocket

Recipe for managing WP Rocket caching plugin updates.

Configuration

Instructions

A placeholder provides guidance:

  • License URL should be a website listed on https://wp-rocket.me/account/websites/ or a new URL
  • To find the license key and license email, download WP Rocket from your account and open wp-rocket/licence-data.php

License URL

  • Label: License URL
  • Required: Yes
  • Type: URL
  • Helper Text: The URL of the WordPress site where the license is active

License Key

  • Required: Yes
  • Type: Secret

License Email

  • Required: Yes
  • Type: Secret

Features

How to Obtain License Information

  1. Download WP Rocket from https://wp-rocket.me/account/
  2. Extract the ZIP file and open wp-rocket/licence-data.php
  3. Find your:
    • License key
    • License email
  4. Your license URL should be one of the sites listed at https://wp-rocket.me/account/websites/

Notes

  • Uses WP Rocket API at https://api.wp-rocket.me/
  • Validates licenses via valid_key.php endpoint
  • Fetches updates via check_update.php endpoint
  • Includes license information in the user agent string
  • Validates with specific error codes:
    • BAD_LICENSE: License is not valid
    • BAD_NUMBER: License limit reached
    • BAD_SITE: Website not allowed
    • BAD_KEY: License key not recognized
  • Implements rate limiting protection (1-second delay between API calls)
  • Parses version from pipe-delimited API response
  • Marked as "unsafe" in the system (requires careful handling)
  • Custom user agent format includes WP-Rocket version, license credentials, and site URL