Deactivate Plugins Per Page 1.13.2 - Improve WordPress Performance

Home > Downloads > Deactivate Plugins Per Page 1.13.2 – Improve WordPress Performance

Deactivate Plugins Per Page – Improve WordPress Performance

optimize site speed by disabling plugins on certain pages

Short Description

With “Deactivate Plugins Per Page” you can easily disable plugins on certain WordPress pages (or on all except a selected page).

This is useful for speeding up your site mainly because many front-end plugins will load their JavaScript and CSS assets on every page, even if you use them on one page.

How it works?

You can add deactivation rules for active plugins. For example for a contact form plugin, that you only use on the contact page, simply add a rule to deactivate it on all URI except on the contact page.

deactivate plugins per page

add rule

Deactivation Rules Options

1. Deactivation Type
– Deactivate on selected URI
– Deactivate on all URI except selected

2. URI selection type
– Page
– Custom

3. [Page] Select pages to extract URI from (it will update automatically if the page slug changes)

3. [Custom] Custom URI condition
– URI equals …
– URI does not equal …
– URI contains …
– URI does not contain …
– URI starts with …
– URI does not start with …
– URI ends with …
– URI does not end with …

custom deactivation rules

4. Affected devices
– All
– Desktop
– Mobile

Plugin Groups

Create groups of multiple plugins in order to add deactivation rules that affect them all.

plugin groups

Debug Mode

Enable debug mode to see what is the URI and which plugins are active/inactive on the current page on the front-end. This will help you create rules and test current ones. A debug box will appear on the front-end if you are an administrator user.

debug information

Does it affect the Back-end?

There is an option (not enabled by default) that makes all rules with Custom URI selection to also affect the back-end. Some back-end pages will still not be affected in order to avoid problems, like the pages that control plugin activation, deactivation, updates, and installation.



Group plugins that work together

If you have a plugin that requires another plugin to be active in order to work, you need to add these plugins in a plugin group, and add deactivation rules to that group. Deactivating only one of these could lead to errors or the global deactivation of the other plugin.

Don’t deactivate plugins required by your theme

Some themes require certain plugins in order to work properly. If you deactivate these plugins you may experience problems.

Deactivation hooks will not run

When plugins are deactivated via my plugin, the actual deactivation function is not called, and the deactivation hooks will not run. Instead, to make it work per page, plugins are just dynamically removed from the list of active plugins before the page loads. This means that if a plugin has some actions that it performs when it is deactivated, these actions will not run when it is deactivated via my plugin.

For example, some plugins add code to your ”.htaccess” file when they are activated, and when they are deactivated, they remove it. In this case if you add a deactivation rule with my plugin to stop the plugin on a certain page, the ”.htaccess” code will still be there and work on that page, even though the plugin will not be active on it.

Don’t use this plugin to hide sensitive data

It is not made to work securely for that. It is mainly made for site speed optimization and it can also be used for debugging or solving plugin compatibility issues.

Backup your site

Deactivating plugins per page is not a natural thing for WordPress, and plugin and theme developers are not expecting that. It works great in most cases, but sometimes can lead to problems, to other plugins being deactivated or settings being changed. Always have a recent backup of your site and if you can, test your changes in a staging site.

Currently Tested Up To

These are the highest versions of WordPress and PHP where I have tested the plugin. They are not required, it will work with lower versions too. It could also work with higher versions, but it is not tested at this time on higher ones.
Deactivate Plugins Per Page - Improve WordPress Performance - 1 WordPress 5.6
Deactivate Plugins Per Page - Improve WordPress Performance - 2 PHP 7.4.11




E-mail : *

Leave A Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.

You must log in and be a buyer of this download to submit a review.

Download Details

0 Sale
0 Comment
( 0 Rating )

Download Information

January 24, 2021
September 14, 2021
0 Sale

Report Content

Check Out This Offer!!

Get Email Update Alerts



E-mail : *

Subscribe to Newsletter

Payments Accepted

paypalstripevisamaster carddiscover