If disabling XML-RPC in WP Ghost causes JetPack analytics to stop working, a simpler solution is to whitelist JetPack’s IP addresses in WP Ghost’s firewall. This ensures JetPack can communicate with WordPress.com securely without fully re-enabling XML-RPC access.

Verify JetPack Errors

Check your JetPack dashboard or WordPress admin for error messages like “Error connecting to WordPress.com” or “Stats not available“.

Whitelist JetPack IPs

JetPack uses specific IP ranges to communicate with WordPress.com. For the latest IP addresses, visit JetPack’s official IP documentation.

Re-enable XML-RPC Access

To ensure JetPack works, a solution is to allow XML-RPC access temporarily.

  1. Go to WP Ghost > Change Paths > API Security.
  2. Switch Off the option Disable XML-RPC access to allow the access to the xmlrpc.php path.
  3. Click the “Save Changes” button to apply the settings.
Test JetPack Connection

Go to JetPack > Dashboard and reconnect your site to WordPress.com if needed. Check if analytics data is being updated correctly.

This approach provides a balanced solution: you maintain the security of WP Ghost while ensuring JetPack analytics work seamlessly.