Error after deactivate the plugin

[ad_1]

Plugin Author
Jose

(@giuse)

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 to yoursite.com or the contrary, or from to .

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

Thread Starter
Sylvain

(@reventlov)

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

(@giuse)

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer