Disable Plugins and Change Theme from phpMyAdmin

Deactivating plugins and changing themes is typically done easily from the WP Admin dashboard. However, if an error prevents access to the wp-admin dashboard, plugins and theme can be disabled from the database instead.

This is often helpful if a plugin or theme is causing the site to not load, by resetting the site to a more default state to regain wp-admin access.

NOTE

If recent changes were made, restoring a backup may be beneficial instead.


Disable Plugins from phpMyAdmin

  1. Log in to the User Portal
  2. Select the environment name
  3. Click phpMyAdmin at the top
  4. Select the database name (typically wp_environmentname)
  5. Select the wp_options table
    • Take into account any custom database prefix, where wp_ may be replaced with something else.
  6. Locate the row called active_plugins
  1. Delete everything in the option_value column on this row
  2. Press Enter or Return on the keyboard to save

NOTE

The information in this row will be regenerated automatically by WordPress® plugins are reactivated from the WP Admin.1


Change Theme from phpMyAdmin

  1. Log in to the User Portal
  2. Select the environment name
  3. Click phpMyAdmin
  1. Select the database name (typically wp_environmentname)
  2. Select the wp_options table
    • Take into account any custom database prefix, where wp_ may be replaced with something else.
  3. Locate the rows called template and stylesheet
  1. Modify the option_value for both of these rows to a new theme name
    • EX: twentynineteen
  2. Press Enter or Return on the keyboard to save

NOTE

Ensure that a theme that is actually installed on the site is used. Check which themes are installed by viewing the wp-content/themes directory with SFTP.


NEXT STEP: Troubleshoot errors with the WP Engine error logs

Still need help? Contact support.

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to your account to get expert one-on-one help.

The best hosting for WordPress

See why more customers prefer WP Engine over the competition.