WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Safe Mode

Makes it possible to enable safe mode for WordPress. In safe mode, plugins will not be loaded and the default theme (if installed) will be activated.

This plugin enables safe mode for WordPress. This means:

  • No plugins will be loaded.
  • A default theme will be temporarily activated (if it is installed).

Why is this useful?

Whenever something's wrong with a WordPress site, the first rule of thumb is to disable plugins and possibly revert to the default theme. Depending on the nature of the error, that is not always an option. The back end (dashboard) may also be down, you may not have FTP access to manually disable plugins or themes and so on.

Enter Safe Mode. Safe Mode will completely disable all plugins and the active theme temporarily for a single page view - ultimately enabling you to log in and remove the offending plugin. (This is not guaranteed to work in all scenarios, please read the disclaimer)

How does it work?

If your site crashes due to an upsetting plugin or theme, all you have to do is add a querystring parameter to the URL. That will temporarily disable all plugins for that single page view, as well as temporarily activate a default theme if such is installed.

Let's say you're the owner of http://www.example.com. To enable safe mode for one particular page, you add this to the URL: "?safe_mode=1".

Bear in mind that you have to do this for every view. The querystring parameter isn't carried on automatically. So, for instance:

When you go to plugin management, all plugins will seem to be deactivated (due to the way Safe Mode works), but you'll still be able to explicitly deactivate each plugin. Just use the "Deactivate (safe mode)" option.

What is default themes?

By default theme, I'm referring to either Twenty Twelve, Twenty Eleven or Twenty Ten.

The plugin checks if any of these themes are installed (in that order), and if so, activates the first theme it encounters. Thus I highly recommend that you keep one of those themes installed at all times. If you don't, safe mode will keep your current active theme, and that theme may just be the offender - leaving safe mode useless. Keep this in mind.

Disclaimer

This plugin will be able to handle many scenarios, but not all. If your site's crash is caused by a database crash, or something that simply brings down the PHP parser, like a call to an undefined function, Safe Mode won't be able to do anything about that.

Requires: 3.0.1 or higher
Compatible up to: 3.6.1
Last Updated: 2013-10-9
Downloads: 1,410

Ratings

5 stars
5 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1
100,2,2