Installing WP Rocket

In this Article

Minimum Requirements

To install WP Rocket on your site, as of version 3.8, it must be running: 

  • WordPress 5.2
  • PHP 7+ (ask your host to upgrade your PHP version)

Download WP Rocket

Once you have bought WP Rocket, you can download the zip file from your WP Rocket  account page.

Note: If you use Safari, it might be automatically un-zipping the file on download. Either re-zip it, or follow below instructions.

Disable Automatic Un-Zipping in Safari

If you want to use the Automatic Installation method for WP Rocket, ie. installing the plugin through your WordPress dashboard, you need to start with the zip file of the plugin. If you use Safari, it might be un-zipping it for you which causes confusion. 

Go to Safari > Preferences and un-check the box labelled Open "safe" files after downloading:


Now you can download the zip file normally and proceed with installation :)

There are two WP Rocket installation options: Automatic or Manual.

Automatic Installation

Automatic installation is the easiest way to install WP Rocket. 

To do it, log in to your WordPress admin panel and go to : Plugin->Add New and click on Upload Plugin.

Select the zip file and click on Install Now. After clicking that link, you will be asked if you are sure you want to install the plugin. Click yes and WordPress will automatically complete the installation process. 

Note: Once it's activated, simply go to the settings panel. 

Manual Installation

The manual installation involves uploading all the files to your webserver through a FTP software. 

Unzip the archive, then upload the wp-rocket folder to wp-content/plugins directory.

Finally activate the plugin through your WordPress admin.

Note: Once it's activated, simply go to the settings panel. 

WP Rocket's License Data

In some cases, you might need to add your license info to your wp-config.php file. This can be useful as an alternate way of validating the license without a full reinstall, for example, when migrating the license, after resetting the API key, etc.

To add the license's info into wp-config.php, you'll have to define the following two constants in the  wp-config.php file:

define( 'WP_ROCKET_EMAIL', 'YOUR_ACCOUNT_EMAIL');
define( 'WP_ROCKET_KEY', 'YOUR_API_KEY');

Replace:

  • YOUR_ACCOUNT_EMAIL with the email of your WP Rocket account.
  • YOUR_API_KEY with your API Key.

To find your API Key, download WP Rocket from your account:
https://wp-rocket.me/account/

Open the license-data.php file and copy the value of WP_ROCKET_KEY.

Note:  Changing your license information will reset your WP Rocket settings. So, before doing this, it is highly recommended to Export WP Rocket settings to easily reimport them afterward.

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