Home » Web Programming » WordPress Theme Reset To Default – Recover Crash

WordPress Theme Reset To Default – Recover Crash


Sometimes you install a wordpress theme and activate You will get a blank page. No Admin No Front end the total wordpress gone to thin air. This is a great problem for me. Searched to reset the theme to default and get back the Admin Interface of wordpress. A simple Solution is here. NOT work everywhere. Before reinstalling the whole wordpress just try this.
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';

UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet';

It saved my life may time. You can also try this for resetting the wordpress theme to default and save from a wordpress crash of website. Happy Me …!!!


I am a Full stack Web Developer. I'm interested in Web Designing and passionate towards FOSS. I love Linux and like to promote it. A quick leaner, quick implementer, not away from errors, staying for software and knowledge freedom and doing programming in PHP, Mysql, Postgresql, Laravel, Angulajs and more..


  1. This tip was a lifesaver!

    Thank you.

  2. You did save me a few hours of a hard work, not to mention the frustration. I’m not very familiar with phpMyAdmin, but to be fair it was quite simple paste and run. Thank you very much!

  3. PERFECT! Thanks so much for this!!!!

  4. thx man, that helped a lot

  5. Hi Ranjit,

    Can you please explain a bit in detail how to use the code you mentioned? How and where do I put this in?
    I really need a solution so please help.

  6. thankssssssssssssssssss a lot

Leave a Reply

Your email address will not be published. Required fields are marked *