How To Change Your WordPress Theme From Cpanel

Posted On October 10, 2017

Are you locked out of your website because of a theme error?

It recently happened to me.  I navigated away from the WordPress admin area in the middle of a theme update and caused a huge error.

I wanted to log in and all I saw was a big error page.  I first thought my IP address may have been locked out of my host, checked, nope.

Then I realized I caused the problem.  I checked inside my Cpanel and noticed I had updated my theme but it was missing a stylesheet.  I knew it would be fixed immediately if I changed the theme from Cpanel.  Here is how to do it.

Step 1 – Access Cpanel

If you are hosting with us you can access this from your administrator login area or just type it into the address bar.  If your domain name was it would be

Step 2 – Go to PHPmyadmin

Again if you are hosting with us type in php in the search bar and click the application.

phpmyadmin icon in cpanel

Once in phpmyadmin you will see your databases on the left.  Click the one with your wordpress installation.  Often times it will have WP and them a couple numbers like in this image:

databases inside phpmyadmin

Once you click the database there will be a drop down menu. select the wp options folder.

wordpress options folder

Next there may be a couple pages of results, go through them until you find a 2 files labeled “Template” and “Stylesheet”  Next to those two items you should see the current theme.  In the image below I have the Divi theme installed.

the template and stylesheet folders

You will next need to click edit and type in the name of another theme that is installed on you wordpress site.  If you recently started the site there is likely the “Twentyseventeen” theme. Next click “Go” in the bottom right corner.

You will need to do this for both the Template and Stylesheet folders.

After that go to log in to your site as normal, is should be back and ready to go for you. I would recommend deleting and reinstalling the previous theme that broke.

If this doesn’t fix the problem and you host with us, please submit a support ticket and we will see what we can do for you.

Written by Troy Coroles

Well rounded digital marketer. I like to read, write, and solve problems. I am currently creating tools to help businesses thrive in the new economy.

Related Posts

Do Research Like A Google Rockstar

It's pretty amazing what you can do with Google. People have given me credit for being a great researcher and being able to find out pretty much anything. How did this happen? I used to study nutrition and body building like a maniac. I'd read every...

Does The Website Platform Matter?

Does The Website Platform Matter?

I came across an interesting question on Quora. The person asked "I found out my website is made using wix and I paid a lot of money for it. Should I be annoyed?" At first glance I thought YES! But thinking it through I agree with most of the answers with a solid no....

When You Should and When You Shouldn’t Think About SEO

I've built and launched many websites for clients and normally one of the first things they want to do is "work on their SEO and get rankings" This is not the time to be thinking about where your website ranks in Google. It doesn't rank now, and it's not going to for...


Submit a Comment

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