Here we will cover the steps to follow when a WordPress site is showing as a blank page and the site has the WP Rocket plugin installed. Usually, there aren't any errors displayed on the page when this issue happens.
To solve the issue, we can remove the cache folder, disable WP_CACHE, and have WP Rocket re-enable it.
We will cover that process here.
Related Articles
Enable/Disable Error Reporting in PHP
Update WordPress Plugin
Rebuild the Cache
- Log into cPanel
- Navigate to the domain's Document Root
- Enter the wp-content folder
- Rename or remove the
cache
folder - Right-click on wp-config.php and select Edit
- Insert a
#
at the start of the following linedefine('WP_CACHE', true);
TIP: Inserting a # "comments out" the line, ensuring that it is not used by the website.
EXAMPLE:#define('WP_CACHE', true);
- Log into the WordPress Dashboard
- In the left side panel, hover over Settings and click WP Rocket
- This prompts WP Rocket to regenerate the configuration
- From the top menu bar in the WordPress Dashboard, hover over WP Rocket and click Clear Cache