Title: Error after deactivate the plugin
Last modified: February 24, 2023

---

# Error after deactivate the plugin

 *  Resolved [Reventlov](https://wordpress.org/support/users/reventlov/)
 * (@reventlov)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-after-deactivate-the-plugin/)
 * Hi,
 * I deactivated the plugin.
 * Since, the website has a “ERR_TOO_MANY_REDIRECTS” error.
 * Regards.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-after-deactivate-the-plugin/#post-16502109)
 * Hi Sylvain
 * do you mean “after deactivating Freesoul Deactivate Plugins the website gives
   the error ERR_TOO_MANY_REDIRECTS”?
 * If so, be sure there isn’t the file wp-content/mu-plugins/eos-deactivate-plugins.
   php. When you deactivate FDP it automatically deletes that file, but if for any
   unexpected reasons that file was not deleted, the code of that file still runs.
 * If on the contrary, you don’t see that file, it means that Freesoul Deactivate
   Plugins has nothing to do with this issue, because without that file, if FDP 
   is deactivated, no lines of code of FDP run. It doesn’t write anything in .htaccess,
   and doesn’t do anything that after deactivation may cause redirections.
 * When you have this kind of problem it means your website redirects to an URL 
   that redirects to the same URL creating an infinite loop of redirections.
   You
   may have problems with redirections from [http://www.yoursite.com](http://www.yoursite.com)
   to yoursite.com or the contrary, or from [http://yoursite.com](http://yoursite.com)
   to [https://yoursite.com](https://yoursite.com).
 * Or maybe another kind of redirection that was working until FDP was deactivating
   a specific plugin, and now that it doesn’t deactivate anymore that plugin, you
   have the issue.
 * Or maybe, you have an issue with the rewrite rules. This is maybe the most probable
   cause. In this case, just go to Settings => Permalinks. By doing this, you will
   refresh the rewrite rules, and this may be enough to solve the issue.
 * I hope it helps.
 * Have a great day
 * Jose
 * [@reventlov](https://wordpress.org/support/users/reventlov/)
 *  Thread Starter [Reventlov](https://wordpress.org/support/users/reventlov/)
 * (@reventlov)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-after-deactivate-the-plugin/#post-16502233)
 * Hi Jose,
 * Thank you for your prompt reply !
 * Yes it is what I mean. I deactivate your plugin and that error appears.
 * I refresh the rewrite rules as you suggested and it works now.
 * Thank you very much for your help !
 * Best regards.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-after-deactivate-the-plugin/#post-16502282)
 * Perfect! I’m happy that it’s solved.
 * If there is something that you suggest to improve FDP please let me know. I ask
   because if you deactivate it, it means something wasn’t as you expected.
 * Have a great day!
 * Jose
 * [@reventlov](https://wordpress.org/support/users/reventlov/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error after deactivate the plugin’ is closed to new replies.

 * ![](https://ps.w.org/freesoul-deactivate-plugins/assets/icon-256x256.png?rev=
   2847508)
 * [Freesoul Deactivate Plugins - Disable plugins on individual WordPress pages](https://wordpress.org/plugins/freesoul-deactivate-plugins/)
 * [Support Threads](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/)
 * [Active Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/error-after-deactivate-the-plugin/#post-16502282)
 * Status: resolved