Plugin Organizer

You are here:
Estimated reading time: 1 min

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, 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!

Here an example to exclude Contact Form 7 on frontend sidewide, except on your contactpage.

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.

Was this article helpful?
Dislike 6 7 of 13 found this article helpful.