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!
- Open your ftp client, like filezilla for example, and open your website.
- Look for the folder “wp-content”
- 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.
- Open wp-content/plugins/really-simple-ssl
- Look for the file “force-deactivate.txt”, and rename it to “force-deactivate.php”.
- 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:
- Open your ftp client, and navigate to your webroot
- Find the .htaccess file. Be sure to make your client show hidden files
- Open it and remove all lines between the really simple ssl comments.
- Clear your browser history/cache, and try again
Still didn’t work?
You can always do a manual deinstall