Everything you need for
your creative projects, for
one low cost
This author's response time can be up to 1 business day.
Will you add the ability to export and import plugin settings in the future?
Hi. There is a feature to export/import all rules and settings in the top right in the global actions. If you do not see it, update to the latest version.
I see now that I have not mentioned this feature on the item page, it is only in the changelog. I will add some text about it so people can know about it before buying.
is it good idea to unload the rankmath or litespeed chache from the front pages?
Hi. You mean to deactivate them with my plugin I assume. Well, it depends. Why do you want to do that, are they slowing down the page load? Also don’t you need rankmath to do changes to the front page? In general I don’t recommend deactivating caching plugins with my plugin, since they are pretty complicate, and also make changes to the htaccess file that will not be reverted with the deactivation, so the chance with some problems with them is higher.
Yes with your plugin
why rankmath should load in frontpage that users see? I mean what is reason? because the configuration of rank math is on the backend when the page is editing not in front end.
[” make changes to the htaccess file that will not be reverted with the deactivation “] you mean after configuration of your plugin , is it possible to deactive and it works because the code is in htaccess file?
Rankmath does make changes to the frontpage. It is for SEO, right? So it can make changes to titles or meta tags on the frontpage. The ways WordPress works is usually plugins hook into the load process of the page and make changes dynamically, so even if the settings are on the backend, it still needs to be active on the front-end.
About htaccess I mean that it is possible to make changes to the htaccess only when you click to save settings for example, and not dynamically as the page loads, and the htaccess affects the whole site, so not different per page. That is why I suggest to not deactivate plugins that make changes there, since it could lead to problems (like partially deactivated plugin). But everything needs to be tested of course in any case to see if all is good.
Hello Team, May I know can it be used on woocommerce product page? (https://example.com/product/product123) Thanks!
Hi. Yes, of course . You can use rules with custom URI selection for that.
Thank you nikolaydev to reply me faster
I have Plugin want to include the following WooCommerce page (Product, Product category and Product tag)
Product – https://example.com/product/hoodie/
Product category – https://example.com/product-category/men
Product tag – https://example.com/product-tag/fashion/
But I added “product, product-category, product-tag” on Chosen URI parameters box and clear the cache, and not response. Please see my following screenshot. Many thanks
The chosen URI parameters is for something else, you can remove them from there. You need to create a new rule and choose for URI selection type to be Custom. On the screenshot the rule that we see is with URI type – Pages. It is only for pages. Delete this one and when you make a new one you can add the same conditions to also include the pages. Do you want to deactivate on all except the listed pages from the screenshot, and except all products, all product categories, and all product tags? Is this the goal?
Thank you nikolaydev
Yes, you understood correctly . The working one was what I was talking about. They need to be in one rule, since each rule is applied separately and the logic is different this way. I have one note to improve it further though. Instead of “contains: product” and so on, use “contains: /product/” to make sure it is a product page. Since if you have a post for example that has the word product anywhere in the URL, it will be incorrectly affected.
Just to be clear, we need the conditions all in one rule since we are doing deactivation type “all except selected” and each separate rule will deactivate in all except selected.
Thank you so much and my shop become most fast!
And my 5 stars review left to your plugin before and hope you everything well
Awesome, thank you too.
Ah, I also wanted to mention one more thing. I noticed you have turned on back-end deactivation. So this means that this rule that we now changed to Custom URI selection will now affect the back-end too. So be careful with that, I don’t know if you want it to affect the back-end. If you do not want it to, you can add one more condition “contains: /wp-admin/”.
No, I don’t want to use on backend (wp-admin). Now I set the following. Is it okay? Many thanks
Back-end deactivation = Disable
URI parameters for page rules = Do not ignore URI parameters
URI parameters for custom rules = Ignore chosen URI parameters
Chosen URI parameters = fbclid, fb_action_ids, ... dclid, ignorenitro
Trailing slash = Original URI from permalink
Yes, good. But now I see that I may need to add another option. Your normal pages seem to have a lang parameter. I may need to add an option to ignore chosen URI parameters for page rules too. What plugin are you using for the language parameter?
Yes, I am using WPML and Currency Plugins
So you want the currency plugin to work on the last URL, correct? Can you show me a screenshot with all the rules of the currency plugin?
Hello, I am using “WOOCS – WooCommerce Currency Switcher”
That’s mean, if have the two ”?value=” will not work.
Please answer my previous questions, we will make it work, but I need to better understand what are you trying to do.
Sorry, may I know are you talking the following screenshot?
But the following rules not working if the URI is /購物車/?lang=zh-hant¤cy=USD
or equals: /cart/
or equals: /checkout/
or equals: /my-account/
or equals: /商店/?lang=zh-hant
or equals: /購物車/?lang=zh-hant
or equals: /結帳/?lang=zh-hant
or equals: /我的帳戶/?lang=zh-hant
Yes, thanks. Now change all “equals” to “starts with” (or to “contains”), and remove the ?lang=zh-hant parts.
See screenshot: https://nikolaydev.com/wp-content/uploads/stuff/dppp-arlun.png
Good. But the question that you ask is a more complex condition logic that my plugin does not support. The only way to do this would be instead of “contains: /product-category/” to add all the categories except the one that you do not want like “contains: /product-category/111/”, “contains: /product-category/222/” and so on every except 123.
I have a pre-purchase question, is “Discussion on Deactivate Plugins Per Page” compatible with the Avada theme? Because the famous organizer plugin didn’t work, I’m afraid to buy it and it won’t work either.
Thank you very much and congratulations for your work.
Hello. I did a quick test now with Avada, and my plugin seems to work fine. Of course I haven’t tested every possible option of Avada or of my plugin, so anything is possible, but if you see any problems, just let me know and I will fix them. If they cannot be fixed I can refund you, but that is very unlikely. Regards.
Also do not deactivate the plugins that are required by the theme, they need to be active on all pages since the theme is active on all pages.
Thanks for the quick response.
I’ll buy it now.
Great, no problem.
Conflict with Elementor. Impossible to create a rules. I have always an error: “Error: Could not insert rule data.”
Hi. Thank you for reporting this issue. For now I am not able to reproduce it though, I have the latest free elementor active and the latest version of my plugin active, but I can add rules with no problem. Can you help me reproduce the problem? Can you test if you still have a problem after deactivating all other plugins except my plugin and elementor, maybe it is a conflict between more plugins? Can you check if in your database in the table wp_dppp_plugin_deactivation_rules there is a column named “note”, since if it is not there, it will cause this error that you say. It should have been added with the latest version of the plugin. Can you tell me what is your PHP version and your WP version? We can talk via email as well if you prefer: firstname.lastname@example.org
I have released a new version that fixes this, give it a try and let me know.
There seem to be some sort of conflict with Elementor V3.3.1 and Deactivate Plugins Per Page V 1.13.0
Hi. What is the problem?
If you had problem creating new rules, I have released a fixed version now, see if that helps.
When cleaning up my database wpoption table, I found that there are alot of wpoption name: dppp-plugin-icon-ca14bb164d2be30a0c0c6d83e401771f.
Then value of it is: Not-found. Is it safe to delete this in wp-option?
Hi. If you delete them, they will be generated again when you visit the “deactivate plugins per page” rules and settings page if the option to show plugin icons is enabled. These options are generated for all the plugins that you have installed at the moment that are not on the wordpress.org library and therefor we cannot get an image for. These options say to the plugin to not constantly try to get an image. They should never grow to a very large number though, since there is only one per plugin not in the library, and I doubt you have more than a few dozen.
Are there any plans to include functionality to remove css or js files individually like asset cleanup? Regards
Hi. No, it is not an all in one speed optimization plugin. You have to use other plugins as well. It is just for managing which plugin is active on which pages.
Ok. Thanks for the prompt reply. Regards
1-Could you please compare your plugin with https://www.gabelivan.com/items/wp-asset-cleanup-pro/ ?
2-Do I need to use Cache plugin like wp-rocket or Litespeed cache with your plugin or no?
1. I think that the Asset Cleanup plugin can disable individual assets (css and js files), and also other features like minify, defer (you can read them on their site). My plugin only disables whole plugins on some pages, not parts of plugins.
2. I would not say that you need it, you can use one if you want, it is up to you.
In general my plugin is not an all in one optimization plugin like some plugins try to be. My plugin is only for deactivating plugins on some pages, it does not do anything else. You can use other plugins for the other optimizations.
Is it possible to use booth of them (your plugin and asset clean up) together?
I haven’t tested every plugin out there, but it should be. If you see any issues you can contact me via the support.
Hi i am using Query Monitor and found there is many Duplicate queries from this plugin check image here https://imgur.com/a/gCboh0z
Hi. This should have been fixed in version 1.12.0, please make sure you are using that version, which is currently the latest.
Thank you for your reply. I can send you the plugin if you would like to test it. I also changed the products permalinks structure to include the categories. Now the site URL for a product is https://mydomain.com/store-collection/ready-to-ship/magnolia/. Where ready-to-ship is the slug category that I would like to block the plugin from loading
Send me an email at email@example.com with the plugin archive and I will create a testing site where you can test it along with woocommerce and my plugin.
Pre-sale question: I’m having a problem with a plugin that is affecting Woocommerce variable product type. We can’t select the variation. I would like to deactivate it under a specific category. Is that possible with your plugin without affecting the check out?
Do you mean to deactivate a plugin on product pages when the product has a certain category or do you mean on the category page? My plugin needs your URLs to have something unique so it can detect the category, because it can only work based on the URL. So if you are talking about products from a certain category, the products must have the category slug in the URL so the plugin can see the category in the URL. If your products are only with product name in the URL, then it will not be able to detect the category. And if you are talking about a single category page, then it is fine.
Also keep in mind that there are many plugins and I cannot say for sure if the plugin you are talking about will work correctly when deactivated on some pages, some plugins are required by the theme for example and need to be always active, but in most cases it will work.
I can send you a testing site where I can upload my plugin and you can upload the other plugins and test it if you want. Send me an email at firstname.lastname@example.org if you want that so I can respond with a link to a temporary testing site.
you have great plugin here
but i need to ask you it this plugin work with caching plugins like (wp rocket)?
what I would to know exactly when wp rocket cache all js and css
how your plugin will work and disable some plugins in some pages
did you understand what I mean?
Hello, thank you. Caching plugins create different js and css files for different pages if there are any differences in the code. So this will still work.
Hello. Consider adding a feature to disable the plugins for a specific user role. We want to debug something and disable plugins from the admin user but don’t want to break the normal users experience. Thanks.
Hi. OK, I will think about this. I could make it instead by IP address or just to set a cookie so it affects only you on this device, since if I remember correctly there was some problem with detecting user roles that early. But I will do some tests and see.
Hi again. In the new 1.12.0 version now I added the feature to enable Local Mode which would make all rules to only affect your device. This should help you with testing (I cannot detect users so early in the WordPress loading process, because they are not loaded yet, so I made it like this). Regards.
Thank you very much. It works. You are amazing. Keep up the good work!
Do you plan to add the functionality of disabling by post type?
Say for instance you have multiple post types but one in particular, you wanted to disable Contact Form 7 or elementor, but all of them has a similar url structure to wordpress native posts or page. ie, no /product/, /ad/ /car/ /recipe/ etc.
Hello. I know that this has been highly requested, but I would have to say no for now. Due to two main reasons. First, there is not a good way to do this, since normal WordPress functions to detect this are not working when we run code so early before other plugins start. But there is one more complicated way, just not a good way. Secondly, due to my regular work (not related to my plugins) I don’t have time to develop big new features for my plugins unfortunately.
This is an amazing plugin! I use it all the time. And Nikolay’s support is awesome!
Your plugin doesn’t seem to be working for custom post types such as blog articles, products from woocommerce and more.
Or am i missing something?
Hi. I assume you want to make a rule that targets all of that custom post type (or do you mean something else?) You can target products with a custom URI selection rule that affects all URI that contain /product/ for example. You wouldn’t be able to do that only for a post type that does not contain a unique word in the URI, which also depends on the permalink settings (usually normal posts if they only contain the post name). Give me an example of what are you trying to do exactly and how does your URI look like.
Yes I wanted to make a rule that target custom post types.
For example: I am using woocommerce and my urls are customized (there is no /shop/ or /product/) prepending the URL of the product. Thus I need a to deactivate plugins like elementor, contact form 7 and more for “products and post custom post types”. Now its currently not possible with your plugin.
Something like this but also include products—> https://share.getcloudapp.com/OAuB9rPp
My plugin works with the URI, if there is no change in the URI, you cannot target these posts. The reason for this is because in order to deactivate other plugins my plugin needs to work before they even begin to load. That early in the load process WordPress does not allow me to detect post types and other types of pages in the normal way. Also some post types don’t even exist yet, since plugins create them later.
So in order to be able to detect post types the plugin would have create a database table with all posts and their URIs and constantly update it on changes, and always check in that table which URI is for which post type. And this is a complicated and not so good way of doing it. Basically there is no good way of doing that, because of how the WordPress load process works. I may end up do it eventually in this not so good way, but for now I haven’t decided to do this feature.
Hello, is there any chance to create something like that. When you have the debugger enable except for what active plugins are to show the amount of time the plugin took to load when you visit a page?
For example you go to home page and the debugger shows Contact Form enabled and next to it (0.3sec to load) something like that and make it optional to enable or disable just like debugger.
Hi. That sounds very cool, but I don’t think it is possible. Plugins hook into many different points in the loading process and add their PHP code, also do MySQL queries, also add static files to be loaded, all these things add to the loading time. It is not one action that happens all at once and loads the plugin that we can measure. It is too complicated, sorry.
Is there a way to deactivate on all except more than one URI which “does not contain”? Whenever I select 2 all but uri “which does not contain”, the deactivation stops working everywhere.
What I’m trying to do is prevent it from running on the frontend at all, but I have two different admin dashboard urls. (“wp-admin” and “dashboard”)
Hi. Since version 1.8.0 of the plugin, there is a button to front-end deactivate a plugin without adding any rules. Please try using it and see if it works good with both your dashboards.
Would that deactivate the plugin, or deactivate the rules for the plugin?
Also I think your logic is incorrect. If you are doing it with rules you need to deactivate on all except if it contains both dashboard addresses. This should deactivate on the front-end as well. Try that too. Regards.
I don’t want anything deactivated on the frontend. I want everything deactivated on the backend only except for certain pages on the backend.
I use deactivate on all except for “uri does not contain wp-admin” and it works, but adding another rule “uri does not contain dashboard” along with the first rule causes the rules to not take effect.
Ah, I think I understand now. I Thought you wanted to prevent the plugin from running on the front-end, but you want the rules to not run on the front-end. And you have two different dashboard strings to consider. Yes, this seems impossible then in the current plugin. Let me think a little about what feature I need to add for that to be possible.
I sent you an email (I have it from before) with a way to do that before I release the update that has the feature. Regards.
On the latest WP update 5.3.2 this plugin started messing up with my plugins and deactivated them randomly. It isn’t working now, which is a bummer because it had been working great all year.
I wouldn’t recommend it for newer installs.
Sorry to hear that. But that is very unlikely, since the 5.3.2 update is very minor, and also looking at the changes I don’t see how any of them could affect my plugin. Maybe something else is going on, and just happened after you updated. Please confirm that the 5.3.2 is the problem by going back to 5.3.1. You can download it https://wordpress.org/wordpress-5.3.1.zip, extract it, and upload all files and folders except the “wp-content” folder to your server. This will downgrade you to 5.3.1. Of course make a backup first just in case. Check if that solves the problem (just so we know, I am not suggesting to stay with that version).
Also I am not sure exactly what is being deactivated and when. I don’t think it is random though. It is best to test with just one other plugin activated, and just one deactivation rule first. So it is a simple environment, where you can easily see what is going on. Use the debug mode in my plugin to see on the front-end which plugin is active.
Sometimes when you deactivate a plugin, that is needed by other plugins, they get deactivated as well, because they cannot work without it. These plugins that work together you need to put in a group and add rules only to the group, so they are deactivated together. For example all WooCommerce add-ons require WooCommerce.
If you prefer, send me (email@example.com) access to your site to do some testing, but also tell me in more detail how to first see the problem on your site (what happens and when that is the problem).
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Price is in US dollars and excludes tax
Millions of creative assets, unlimited downloads.
One low cost subscription. Cancel any time.
Effortless design and video. Made online by you.
Smart templates ready for any skill level.
We'd like to ask you a few questions to help improve CodeCanyon.