Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisdigital/5501229 to your computer and use it in GitHub Desktop.
Save chrisdigital/5501229 to your computer and use it in GitHub Desktop.
Overriding selected theme (open phpMyAdmin) to switch to default to combat server 500 error directly in database for WordPress.
//http://designgala.com/how-to-change-wordpress-theme-directly-from-database/
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet';
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'current_theme';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment