Disable Plugins Per Page
Turn plugins off on the pages that don't need them, before they load: rules by page, post type, URL pattern or device, admin rules, a test mode, safe recovery and before-and-after numbers. Free, with no Pro tier.
Screenshots
Every active plugin loads on every page of your site, whether that page uses it or not. WooCommerce loads on your blog posts, your contact form plugin loads on every product page, and a slider loads everywhere because one page has a slider. Disable Plugins Per Page stops that. It runs before any other plugin loads and takes the ones a page doesn't need out of the list WordPress is about to load, so their code, database queries, scripts and styles never run there at all.
Rules can match kinds of page, post types, chosen pages, pages that use a shortcode or block, URL patterns and devices, so “only load WooCommerce on the shop, cart, checkout, account and product pages” is one rule. There are admin rules for heavy plugins on screens that don't use them, a “Plugins on this page” panel in the editor, and starter rules for WooCommerce, the popular form plugins and sliders. The Before & after tab loads your pages with every plugin and then with your rules and shows what you saved: plugins, queries, server time, memory and scripts.
It's built to be safe on client sites. New rules start in testing, so only administrators see them until you set them live. A private recovery link or one line in wp-config.php pauses every rule, the crash guard pauses a rule by itself if a page breaks without a plugin, add-ons are turned off with the plugin they need, and forms, carts, AJAX and the REST API always load every plugin. It's completely free, with no Pro version. Find it under Content Powered > Disable Plugins Per Page.
Features
- Stops plugins loading, not just their scripts. It runs before any other plugin and takes the ones a page doesn't need out of WordPress's list, so their code and database queries never run there.
- Rules for any part of your site. Match the home page, the blog, archives, search, whole post types, chosen pages or URL patterns like /shop/*, and turn plugins off there or load them only there.
- Only where a shortcode or block is used. Load a form or slider plugin only on pages that contain its shortcode or block. The list updates whenever a page is saved.
- Phones and computers. Any rule can apply to phones and tablets only, or to computers only.
- Per-page control in the editor. The "Plugins on this page" panel shows what the rules do on a page and lets you turn a plugin off there, or keep one loading when a rule turns it off.
- Admin rules. Keep heavy plugins off the Dashboard, editor, Media, Comments, Users or Settings screens, or any admin screen by its address.
- Test before visitors see it. New rules start in testing and only apply to administrators. The admin bar shows which plugins are off on each page and why.
- Safe recovery. A private recovery link or one line in wp-config.php pauses every rule before any plugin loads, even when you can't sign in.
- Crash guard. If a page breaks because a theme calls a plugin that's turned off, the rule involved pauses by itself and you're shown the page and the error.
- Add-ons go with their parent. Turn WooCommerce off on a page and its extensions go too, so nothing calls a plugin that isn't loaded.
- Starter rules. Ready-made rules for WooCommerce, Contact Form 7, WPForms, Gravity Forms and other form plugins, and the popular slider plugins.
- Before-and-after numbers. Loads each page with every plugin and then with your rules, and shows the plugins, database queries, server time, memory and scripts saved.
- Free, with no Pro tier. Every feature is in the free plugin. Nothing is held back for an upgrade.
- Click Download above to save
disable-plugins-per-page.zip. Leave it zipped. - In your WordPress dashboard, go to Plugins > Add New Plugin and click Upload Plugin.
- Choose the ZIP and click Install Now, then Activate Plugin.
To update later, upload a newer ZIP the same way. WordPress offers to replace the installed version and keeps your settings.
How Is This Different From Removing a Plugin's Scripts?
Asset managers remove a plugin's CSS and JavaScript after the plugin has already loaded and run. This plugin stops the plugin from loading at all on that page, so its PHP code and database queries go too, not just its files. It works through a small must-use plugin, the only kind of code WordPress runs before regular plugins.
What If a Rule Breaks My Site?
Open the recovery link from the Safety tab: it pauses every rule before any plugin loads, even when you're signed out. You can also add one line to wp-config.php or delete the plugin's file in wp-content/mu-plugins. If a page crashes because a plugin it needs is turned off, the crash guard pauses that rule on its own.
Will Forms, Carts and Checkouts Still Work?
Yes. Form submissions, AJAX, the REST API and scheduled tasks always load every plugin, wherever they come from. Adding to cart, submitting a contact form and checking out keep working even on pages where a plugin is turned off for page views.
Can I Try a Rule Before Visitors See It?
Every new rule starts in testing, which means it only applies to administrators. Browse your site, use the admin bar to see what's off on each page, and set the rule live when you're happy.
Does It Work With Caching Plugins?
Yes. When the rules your visitors get change, it clears the page cache of popular caching plugins like WP Rocket, LiteSpeed Cache and W3 Total Cache, so nobody gets a page built with the old rules. Rules by device need a cache that keeps separate copies for phones and computers.
Which Plugins Shouldn't I Turn Off?
Leave security plugins and your caching plugin on everywhere, along with anything that adds something to every page, like your SEO plugin or cookie banner. Shop, form, slider, gallery and booking plugins are usually the best ones to limit to the pages that use them.
Does It Deactivate My Plugins?
No. Your plugins stay active; the rules only decide which of them load on each page. A page that loads fewer plugins can never save a shorter list of active plugins, and if you deactivate this plugin, every plugin loads everywhere again.
Is It a Replacement for Freesoul Deactivate Plugins?
It covers the same ground and more, for free: rules by page, post type, URL and device, admin rules, per-page settings in the editor, a test mode and safe recovery, plus before-and-after numbers. There's no Pro version, so nothing will move behind a paywall later.
Is There a Pro Version?
No. Everything is free.
1.0.1
- Fix: "Pages whose content uses" rules now include private pages, and a page with a plain ?p=123 link can no longer be mistaken for the home page.
- Sites on plain permalinks: chosen pages, "content uses" rules and per-page settings now match by post ID.
- "Computers only" rules are described as computers, to match the setting.
1.0.0
- First release: front-end and admin rules by page type, post type, chosen pages, shortcode or block, URL pattern and device; per-page control in the editor; testing for administrators; recovery link, safe mode and crash guard; add-ons turned off with their parent; starter rules; check a page; before-and-after numbers.
- See https://github.com/jmsprsns/disable-plugins-per-page/releases for the full release history.
Download
More Free WordPress Plugins
Thumbnail Size Manager
See every image size your site makes, where each one came from, how many files it has and whether anything uses it. Switch off the sizes you don't need, clean up their files after a dry run, and regenerate the rest.Phone Click Tracking
See which pages, traffic sources and campaigns make people call or text you. Every tel:, sms:, WhatsApp and email click is logged in WordPress, with Google Business Profile and AI referrals, a Google Ads conversion export and client reports.Text Us Widget
An iOS-style "Text Us" button that opens Messages on iPhone, iPad and Mac (and Android, if you like), with Cloudflare Turnstile to hide your number from bots and tap tracking by device and page.Let's Grow Your Business
Want some free consulting? Let's hop on a call and talk about what we can do to help.
