Redirect Loops Uninstalling

How to uninstall / deactivate when backend is not accessible

There are situations where you can get locked out of the backend of WordPress. For example, if you do not have a valid SSL certificate, and you forced it anyway you can get locked out of the backend.

In this case you want to deactivate the plugin, but you can’t access the WordPress plugin overview. The plugin comes with a function to uninstall if that happens. Just removing or renaming the plugin won’t work!

  1. Open your ftp client, like filezilla for example, and open your website.
  2. Look for the folder “wp-content”
  3. It is possible a security plugin will block the deactivation url. To prevent this, deactivate the security plugins and caching plugins you are running by renaming those folders temporarily.
  4. Open wp-content/plugins/really-simple-ssl
  5. Look for the file “force-deactivate.txt”, and rename it to “force-deactivate.php”.
  6. Open your browser, and open the following url: http://www.yourdomain.com/wp-content/plugins/really-simple-ssl/force-deactivate.php (don’t forget to change yourdomain.com in your own domain.

Important! Take care to use http://, and not https://. If you don’t have an SSL certificate, the deactivate page won’t load on https!

The plugin is now deactivated, and you should be able to access the admin again.
Did you already delete the plugin? Download it from the wordpress repository, upload it in your plugins directory (unzipped), then follow the previous steps.

If this didn’t work

Do you get a “not secure connection” message in your browser? This could happen when you installed this plugin without having an SSL certificate. If so, you’ll have to remove the redirect to ssl from the htaccess first:

  1. Open your ftp client, and navigate to your webroot
  2. Find the .htaccess file. Be sure to make your client show hidden files
  3. Open it and remove all lines between the really simple ssl comments.
  4. Clear your browser history/cache, and try again

Still didn’t work?

You can always do a manual deinstall

Related Articles

Leave a Comment