How to Configure WP Rocket Plugin for WordPress

WP Rocket Plugin is a WordPress cache plug-in. In this article, we will guide you through the steps of installing and configuring WP Rocket Plugin on your WordPress a wooCommerce website, on the Cloudways Platform.

Download WP Rocket plugin

In order to do this, you will have to visit the WP Rocket website and choose the plan that suits your website’s requirements. Once you have placed your order, you can download the zip file onto your computer.

Log into WordPress admin

The next thing that you will need to do is to make sure that you log into WordPress using your credentials.

Remove W3 total cache

Cloudwave has a default cashing plug-in that is called WP Total Cache. You will need to make sure that you deactivate it or delete this plug-in, as well as any other caching plugins that may be installed on your website. This ensures that there are no conflicts between your plug-ins.

Install WP rocket

Make sure that you click the Add Plugins section. When you have done so, select Upload Plugin. You will then have to choose the file that you would have downloaded from WP Rocket. When you have located the WP Rocket zip file, go right ahead and install it.
After the plug-in has been successfully installed, you can activate the plugin, as well as activate the license with an API key.

Configuring WP Rocket

The moment that you activate WP Rocket, page caching will be activated by default. This also applies to other rules such as GZIP, as well as browser caching. In addition, all the performance enhancements will also be added to your .htaccess file automatically.
Another thing to note is that varnish service is enabled by default on your server at Cloudways. Therefore, you will have to make sure that you visit the varnish tab that you will find in WP Rocket. When you have found it, you will have to go and check the Enable the Varnish Caching Auto-purge. Doing this will ensure that there will be no need to use the vanish HTTP Purge plugin.
When you have done all of the above, you must also make sure that you configure varnish. By default, you will find that Cloudways will provide you with OPCachetoo.
Because this is provided to you by defaut, it means that you should be able to see a Purge OPCache link automatically. This link will be available to you and you should be able to see it in the WP Rocket admin toolbar. If you decide, at some point, that you need to purge it, you can always access it from here.
Lastly, you will need to make sure that you deactivate WP Rocket, and then reactivate the plugin. At this point, we also suggest that you clear the cache of your proxy.
You should then check the page header in order to verify if vanish was cleared properly. So, there you have it ladies and gentlemen, the easiest way to configure the WP Rocket Plugin for W