How To Put WordPress Site On Cloudflare Via Wp Rocket

If you want to improve your website’s performance and security, putting it on Cloudflare is a great option. In this article, we will show you how to do just that using the popular caching plugin WP Rocket.

Step 1: Install and Activate WP Rocket

First, you need to install and activate the WP Rocket plugin. You can download it from the official website or directly from your WordPress dashboard. Once installed, go to the “Settings” tab in your dashboard and click on “WP Rocket.”

Step 2: Configure Cloudflare Settings

Next, you need to configure your Cloudflare settings. Go to your Cloudflare account and navigate to the “CNAME” section. Create a new record with the following values:

  • Hostname: www
  • Value:

Step 3: Configure WP Rocket Settings

Now, go back to your WordPress dashboard and navigate to the “WP Rocket” tab. Click on “Settings” and then on “Cloudflare.” Enable the “Use Cloudflare” option and enter your Cloudflare API key.

Step 4: Save Changes

Finally, save all changes you made in both WP Rocket and Cloudflare. Your website should now be on Cloudflare with the added benefits of WP Rocket’s caching capabilities.


Putting your WordPress site on Cloudflare with WP Rocket is a great way to improve its performance and security. By following these simple steps, you can easily set it up and enjoy the benefits of faster loading times and better protection against attacks.