How to fix WordPress login_trashed error by CEB Creative

How to fix WordPress login_trashed error

22 September 2017

CEB Creative's Blog Website Hints and Tips

If you ever see the /login_trashed string at the end of your url when attempting to login or out of /wp-admin there is a good chance that the root casue is a plugin.

Here is an example of what you might see in the url: http://www.yourdomain.com/login__trashed/?redirect_to=http%3A%2F%2Fwww.yourdomain.com%2Fwp-admin%2F&reauth=1

On the front end you will see your 404 error page when you try to access the /wp-admin page.

How to fix the WordPress login_trashed error:

If you can’t login into the back end of your site via /wp-admin then you’ll need FTP access to get at the plugins folders in your wp-content file. Most hosting companies will provide FTP access and you can use an file manager like Transmit to login.

  1. Using a file manager (or FTP), rename your plugins folder. You can rename it anything – for example, “oldplugins”. This will disable all plugins. You’ll also need to clear your browser cache/history completely or use an incognito window so your browser doesn’t continue redirecting you.
  2. Try the normal /wp-admin again and this time you should be able to gain access.
  3. Once you can log in successfully, rename “oldplugins” back to just “plugins”.
  4. Go back to your dashboard and view the plugins, WordPress should still have them all deactivated.
  5. Activate each plugin one by one through wp-admin, whilst having an incognito window open so you can test the /wp-admin page loads correctly after each activation.
  6. Once you find the plugin that is causing issues, you can rename the plugins folder one more time, log in again, rename plugins folder back to “plugins”, reactivate all plugins except the problem one.

Fix Login_trashed error

That should now fix your login_trashed string error and allow you to login and out of your WordPress site as normal. Need help fixing WordPress? Contact CEB Creative today!

Got a project?

  • Would you like to receive information from CEB Creative? CEB Creative would like to occasionally send you information about their products, services and promotions.
  • This field is for validation purposes and should be left unchanged.