Plugins are a big part of WordPress, however sometimes not properly written plugins can cause performance issues. With Plugin Organizer you can disable plugins on certain pages, and let plugins run only where it is really necessary. You can set URL match, Frontend, Frontpage, Admin Pages, AJAX action rules and exceptions to get the best results.

With Swift plugin organizer you can disable plugins on specific pages.

WARNING: Enabling or disabling plugins can have catastrophic affects on your site. It can cause issues with plugins and can render your site inaccessible. Make sure you know what you are doing and always make a backup of your database before making any changes!

Example settings for Contact Form 7

1.) Add a block Frontend rule, it will prevent loading Contact Form 7 everywhere on frontend by default.

2.) Add exceptions (enable rule) for pages where you are using contact form. Use URL Match rule, and add the relative URL. For example you can add “contact”, it will let the plugin load on “http://yoursite.com/contact/” page.

3.) However you also need to add an exception for the “feedback” wp-json request. It will be https://yoursite.com/wp-json/contact-form-7/v1/contact-forms/ID/feedback. The easiest if you add an URL Match enable rule: “wp-json/contact-form-7”

 

Some examples of leading/trailing # for regex you can find here.

Note: To use more complex rules we suggest to use WP Shifty Plugin Organizer feature