Speed & performance · Guide
How to Disable WP Rocket (Step by Step)

Short answer
Deactivate WP Rocket in Plugins > Installed Plugins to switch it off completely. To keep it running but turn it off in places, add pages to Never Cache URL(s), use the WP Rocket Options box in the editor, or untick a single feature. Add nowprocket to a URL for a quick test.
Key takeaways
- Add nowprocket to a URL to test a page without WP Rocket.
- Most problems come from file optimization features, not page caching.
- Never Cache URL(s) in Advanced Rules stops caching on chosen pages.
- The WP Rocket Options box turns off features for a single post or page.
- Rename the wp-rocket plugin folder by FTP if you cannot reach wp-admin.
- After removal, check wp-config.php, .htaccess and cache folders for leftovers.
How do you disable WP Rocket?
To turn WP Rocket off completely, deactivate it in Plugins > Installed Plugins; to turn it off only for certain pages or features, use its per-page options, the Never Cache URL(s) setting or the individual feature toggles.
Disable can mean several things with WP Rocket. You might want to switch it off for a few minutes while troubleshooting, stop it caching one page, turn off a single optimization, or remove it for good.
Each goal has a different method. Picking the right one avoids breaking your site's speed more than you need to.
This guide covers every option step by step, from a quick test with a URL parameter to a full uninstall and cleanup.
Which method should you use?
Use a URL parameter for a quick test, feature toggles when one optimization breaks something, per-page settings for specific URLs, and full deactivation only when you want WP Rocket off everywhere.
| Goal | Method | Affects visitors? |
|---|---|---|
| Quick test without WP Rocket | Add ?nowprocket to a URL | No, only your request |
| One feature breaks the site | Turn off that option in Settings > WP Rocket | Yes |
| Stop caching certain pages | Never Cache URL(s) in Advanced Rules | Yes, for those pages |
| Turn off optimizations on one post | WP Rocket Options box in the editor | Yes, for that post |
| Switch off all caching and optimization | Deactivate the plugin | Yes, whole site |
| Remove WP Rocket permanently | Deactivate, delete and clean up | Yes, whole site |
If your site broke after enabling a setting, our guide on fixing WP Rocket breaking your site can help you find the exact option.
Step 1: Test a page without WP Rocket using nowprocket
Add ?nowprocket to the end of any page URL to load it without WP Rocket's cache and optimizations, which lets you check whether WP Rocket causes a problem without changing settings.
For example, visit https://example.com/about/?nowprocket. If the URL already has a question mark, add &nowprocket instead.
WP Rocket documents this in its guide to bypassing its caching and optimizations.
Compare the normal page and the bypassed version. If the layout or a feature works with nowprocket but not without it, WP Rocket is involved. If both are broken, look elsewhere first.
This is the safest first step. Visitors still get the cached, optimized site while you test.
Step 2: Turn off a single WP Rocket feature
Go to Settings > WP Rocket, open the tab with the feature, untick it and save, then clear the cache so the change takes effect.
Most problems come from file optimization, not from page caching. The usual suspects are:
- Minify or combine CSS and JavaScript on the File Optimization tab.
- Remove Unused CSS, which can hide styles that load later.
- Load JavaScript deferred and Delay JavaScript execution, which can break sliders, menus and forms.
- LazyLoad on the Media tab, which can affect some image galleries.
Turn off one option at a time, save, clear the cache and test. When the problem disappears, you have found the cause.
Often you do not need to keep a feature off. Adding an exclusion is better. Our guide to WP Rocket delay JavaScript exclusions shows how.
For a full tour of every tab, see WP Rocket settings explained.
Step 3: Stop WP Rocket caching specific pages
Add the page URLs under Settings > WP Rocket > Advanced Rules > Never Cache URL(s), save, and those pages will be served fresh on every visit.
This is the right approach for pages that must always show live content, such as dashboards, account areas, quote calculators or pages with personalized data.
Steps:
- Go to Settings > WP Rocket.
- Open the Advanced Rules tab.
- In Never Cache URL(s), enter one URL or path per line, such as /my-account/.
- Click Save Changes.
WP Rocket's docs explain how to disable page caching for specific pages, including pattern matching for many URLs at once.
WooCommerce cart, checkout and account pages are excluded automatically, so you do not need to add them yourself.
Step 4: Turn off optimizations on one post or page
Open the post in the editor and use the WP Rocket Options box to untick the optimizations you want to switch off for that single page.
When WP Rocket is active, a WP Rocket Options panel appears in the editor sidebar or below the content. It lets you turn off features such as LazyLoad, minification or delayed JavaScript for that page only.
Steps:
- Edit the post or page.
- Find the WP Rocket Options box.
- Untick the features you want off, or tick the option to never cache this page if it appears.
- Update the post and clear its cache.
This keeps the rest of the site fully optimized. See the WP Rocket guide on disabling options for a specific page for the full list.
Step 5: Deactivate WP Rocket completely
Go to Plugins > Installed Plugins, find WP Rocket and click Deactivate; WP Rocket stops caching and optimizing and removes the rules it added for page caching.
Steps:
- Go to Plugins > Installed Plugins.
- Find WP Rocket in the list.
- Click Deactivate.
- If WP Rocket shows a short dialog, choose whether to deactivate fully or use the safer option it offers instead, then confirm.
- Clear any server or CDN cache so visitors get fresh pages.
On deactivation, WP Rocket tries to remove the WP_CACHE line it added to wp-config.php and the rules it added to the .htaccess file. If file permissions prevent that, you may need to remove them manually, covered in Step 7.
The WordPress guide on managing plugins covers deactivation in general.
Expect your site to feel slower for a moment while it runs without page caching. If your host provides server caching, that may take over. Read WP Rocket vs host caching before switching between them.
Step 6: Disable WP Rocket when you cannot reach wp-admin
Rename the wp-rocket folder in wp-content/plugins using FTP or your host's file manager, which deactivates the plugin even when the dashboard will not load.
If WP Rocket caused a white screen or a redirect loop, you may not be able to log in. In that case:
- Connect with FTP, SFTP or your host's file manager.
- Open wp-content/plugins/.
- Rename wp-rocket to something like wp-rocket-off.
- Load your site and log in.
WordPress deactivates a plugin when it cannot find its folder. Our guide on deactivating plugins without admin access shows this in more detail.
You may also need to clear the cached files by deleting the contents of wp-content/cache/wp-rocket/, or visitors may keep seeing old cached pages.
Step 7: Clean up after removing WP Rocket
If you are removing WP Rocket for good, delete it from the Plugins screen, then confirm that its wp-config.php line, .htaccess rules, advanced-cache.php file and cache folders are gone.
Deleting from the Plugins screen should run WP Rocket's uninstall routine. It is still worth checking, especially if files were not writable:
- wp-config.php. Remove define( 'WP_CACHE', true ); if it was added by WP Rocket and no other cache plugin needs it. The wp-config.php documentation explains this file.
- .htaccess. Remove the block between the WP Rocket begin and end comments. The Apache .htaccess guide explains how the file works.
- wp-content/advanced-cache.php. Delete it if it belongs to WP Rocket and no other cache plugin is active.
- wp-content/cache/wp-rocket/ and related folders. Safe to delete after deactivation.
Always back up these files before editing them. A small typo in wp-config.php or .htaccess can take the site down.
What should you do after disabling WP Rocket?
Clear every remaining cache, test your key pages, and decide whether to fix the root cause and re-enable WP Rocket or replace it with another caching solution.
Running a WordPress site without any page caching usually makes it slower under load. If WP Rocket was the problem, the best path is often to re-enable it and keep the offending feature off or excluded.
If you plan to come back to WP Rocket later, keep your settings. WP Rocket can export its settings from the Tools tab, which makes restoring them quick.
Before re-enabling, make sure you are on the latest release. Our guide on how to update WP Rocket shows how.
After any change, clear the WP Rocket cache to start fresh.
Frequently asked questions
Does deactivating WP Rocket delete my settings?
No. Deactivating keeps your settings in the database, so they return when you reactivate. Deleting the plugin from the Plugins screen runs its uninstall routine and removes them. Export your settings from the WP Rocket Tools tab first if you might reinstall later.
How do I disable WP Rocket for logged-in users?
By default, WP Rocket does not serve cached pages to logged-in users unless you enable user cache. If logged-in visitors see cached pages, turn off the option to enable caching for logged-in users on the Cache tab, then clear the cache.
Will my site break if I deactivate WP Rocket?
Usually not. Your site keeps working but runs slower because pages are no longer cached or optimized. Occasionally leftover rules in the .htaccess file or a stale advanced-cache.php file cause issues, which you can fix by removing them manually.
How do I disable WP Rocket on mobile only?
WP Rocket does not have a single switch to turn off on mobile. You can control whether mobile visitors get a separate cache on the Cache tab. If a feature breaks only on mobile, turn that feature off or add exclusions instead.
Can I disable only WP Rocket's LazyLoad?
Yes. Go to Settings > WP Rocket, open the Media tab, untick the LazyLoad options you want off, and save. You can also exclude specific images or turn off LazyLoad on individual pages using the WP Rocket Options box in the editor.
Sources
- Bypass WP Rocket's caching and optimizations WP Rocket
- Disable page caching for specific pages and posts WP Rocket
- Disable additional options on a specific page/post WP Rocket
- Manage plugins WordPress.org
- wp-config.php WordPress Developer Resources
- Apache HTTP Server Tutorial: .htaccess files Apache
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


