Uninstall WP Rocket - Remove It Fully Without Leftovers (2026)
WP Rocket cleans up after itself when you deactivate and delete it. If that doesn't happen, perhaps because of file permissions or a failed update, here's how to remove every trace by hand.
Before You Uninstall
Uninstalling WP Rocket removes its caching and every optimization at once, so your pages may get slower straight away. If you're switching to another plugin, have it ready to activate.
If a layout issue or slow page is the reason, see WP Rocket not working first. Turning off one option usually fixes it.
Method 1: The Normal Uninstall
Clear the cache
Use Clear cache from WP Rocket's admin bar menu.
Deactivate WP Rocket
In Plugins, click Deactivate.
Delete WP Rocket
Click Delete and confirm.
Clear other caches
Purge your host cache and CDN, then check your site in a private window.
WP Rocket's documentation says deleting the plugin removes its files and folders and its changes to .htaccess and wp-config.php automatically.
Method 2: Manual Cleanup
If the plugin was removed without running its uninstall routine, or you're seeing errors about advanced-cache.php, clean up by hand. Back up your site first, since these steps can't be undone.
| Location | What to Remove |
|---|---|
| wp-content/plugins/ | The wp-rocket folder |
| wp-content/cache/ | WP Rocket's folders: wp-rocket, min, busting, used-css, critical-css, background-css and fonts |
| wp-content/ | The wp-rocket-config folder and the advanced-cache.php file |
| .htaccess | Everything between the BEGIN WP ROCKET and END WP ROCKET markers |
| wp-config.php | The WP_CACHE line, or set it to false |
| Cron events | Scheduled events containing "rocket", removable with a cron management plugin |
| Database tables | WP Rocket's tables, which start with your table prefix followed by wpr_ |
| Database options | The wp_rocket_settings option and related transients |
Only delete WP Rocket's own folders inside wp-content/cache. Other plugins may use that folder too.
The Database Tables
Recent WP Rocket versions create database tables for features like Remove Unused CSS, the preload queue, critical image detection, lazy rendering, font preloading, preconnect data, Rocket Insights and RocketCDN. WP Rocket's uninstall routine removes them.
If you're cleaning up by hand, look for tables named with your prefix followed by wpr_, such as wp_wpr_rucss_used_css and wp_wpr_rocket_cache. Delete them with your host's database tool only after taking a backup.
Common Problems After Uninstalling
"advanced-cache.php already exists" warning
The old file is still in wp-content. Delete it, unless another cache plugin you're installing has just created it.
Site shows a white screen
A leftover WP_CACHE setting or advanced-cache.php can cause errors. Remove both, then reload.
Old pages still showing
Purge your host's cache, your CDN and your browser cache.
Redirect or 500 errors
Check .htaccess for leftover WP Rocket rules and remove them.
Site slower than before
Expected without caching. Activate your replacement plugin and test.
Uninstalling on Managed Hosts
On hosts like Kinsta and WP Engine, WP Rocket's page cache was never active, so there's less to clean up. The host's own cache keeps serving pages after you uninstall, and you mainly lose WP Rocket's file and media optimizations.
After uninstalling there, clear the host's cache so pages are rebuilt without WP Rocket's optimized CSS and JavaScript references.
Checking the Uninstall Worked
Check the Plugins page
WP Rocket should no longer be listed.
Check wp-content
The wp-rocket-config folder and advanced-cache.php should be gone, unless another plugin created a new advanced-cache.php.
Check .htaccess
No WP ROCKET block should remain.
Check page source
Logged out, the WP Rocket comment at the bottom of pages should no longer appear.
Check Site Health
Look for warnings about WP_CACHE or a missing advanced-cache.php file.
Reinstalling Later
If you reinstall WP Rocket, download the latest version from your account rather than using an old ZIP. Then import your exported settings from Tools, clear the cache and check your key pages. Exclusions saved in the export come back with it, but Remove Unused CSS has to regenerate used CSS for each page.
Switching to Another Plugin
If you're moving to another caching plugin, uninstall WP Rocket fully first. Two page caches, or leftover files from one, are the most common reason a new plugin doesn't cache properly.
Then recreate the important parts of your setup: page exclusions, JavaScript exclusions and any CSS safelist entries that fixed layouts. See free cache plugins and WP Rocket alternatives.
Uninstalling vs Cancelling
Uninstalling removes the plugin from one site. It doesn't stop your subscription from renewing. To stop billing, turn off auto-renewal in your account. See cancelling a WP Rocket subscription.
Removing the plugin from a site also doesn't free up the site slot in your account automatically. Remove the site from your account if you want to use the slot elsewhere.
Uninstall WP Rocket FAQ
Does deleting WP Rocket remove all its files?
Normally, yes. Its uninstall routine removes its files, folders, .htaccess rules and wp-config.php changes.
What should I do if advanced-cache.php is left behind?
Delete it from wp-content, and remove or set to false the WP_CACHE line in wp-config.php.
Will uninstalling WP Rocket cancel my subscription?
No. Turn off auto-renewal in your WP Rocket account to stop future charges.
Should I export my settings before uninstalling?
Yes. Export them from WP Rocket's Tools tab so you can restore them if you reinstall.