Uninstalling WP Rocket

WP Rocket can be uninstalled in two ways: from the plugins page in WordPress admin, and manually through FTP/File manager.

From WordPress admin

You can uninstall WP Rocket as any other plugin. WP Rocket will clean after itself automatically, removing any files/folders and modifications (in the htaccess or wp-config.php files, for example).


Manually

If you manually remove WP Rocket from the plugins folder in /wp-content/plugins/, you'd need to manually remove other information to completely delete WP Rocket from your site.

โš ๏ธ Heads-up! The following actions cannot be undone, and they should be done very carefully! It's recommended to create a full-site backup before proceeding.

Here is a list of things to remove/edit:

  • Folders to delete:
    • /wp-content/cache/ 
    • /wp-content/wp-rocket-config/
    • /wp-content/cache/min/
    • /wp-content/cache/busting/
    • /wp-content/cache/used-css/
    • /wp-content/cache/critical-css/
    • /wp-content/cache/background-css/
  • Files to delete:
    • wp-content/advanced-cache.php
  • Files to edit:
    • The .htaccess file: remove anything between #BEGIN WP ROCKET and #END WP ROCKET
    • The wp-config.php file: set the define('WP_CACHE', true) to false or remove the line
  • Cron events to remove:
    • Using a plugin such as WP Crontrol, go to the Cron Events tab, search for "rocket" crons, and delete them.
  • Database tables to delete:
    • wpr_rucss_used_css
    • wpr_rocket_cache 
    • wpr_above_the_fold
    • wpr_lazy_render_content
  • Database tables to edit:
    • wp_options: Delete the wp_rocket_settingstransients and cronjob rows 
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.