Managing a WordPress website can be overwhelming sometimes because of getting common errors. And most of the times, one of the best troubleshooting practices is to switch to the default WordPress theme.
Even though you get to read about deactivating all the plugins, still for the security reasons, WordPress experts ask you to delete other WordPress themes.
Sometimes, when you don't update the themes, hackers may find a vulnerability to create a back door. You may be thinking about using the admin panel to delete themes.
Well, you can, but not when you're locked out, or the site is down for some reason. The only savior is the cPanel of your web hosting account.
In this tutorial, you're going to learn about the directory where all the themes are available and how you can delete extra themes.
Navigate Through cPanel to Delete Extra WordPress Themes
In a while, you get to use cPanel because every time a website goes down, the owner needs to find out the solution by deactivating plugins via cPanel or using FTP.
If you have web hosting with any of the bestshared hosting services, you can easily resonate with the steps I am going to mention. Follow the steps.
As usual, you need to login to your cPanel account and look for the file manager.
In most of the cases, you can find it under the Files' section.
Some companies have a different layout, so no need to fret. Try to seek for the file manager icon and click to open.
By default, most of the companies display the home directory on this page. You need to open the public_html directory by navigating to it through the left-hand sidebar.
As you may already know, the plugins, themes, and media files of a WordPress site are residing in the wp-content folder, you need to open it.
You can easily spot the themes folder. Click to open.
Now, you see the folder name of all the themes you have installed in your WordPress site. Make sure you remember your active theme.
In my case, I have BloggingLove. So, I am going to delete the twentyseventeen theme by right-clicking and choosing the delete option.
Note: I had only two WordPress themes, you may have many.
I hope you know which theme is currently active on your site. If you delete that theme along with others, you lose the design of your WordPress website.
Keeping note of the theme name you want to keep is essential. I remember when I deleted all the themes and lost the customization.
Is that Hard to Delete All Themes Except an Active One
Depending on the error you have, you should try the troubleshoot practices without breaking your site. WordPress is easy yet can be brainstorming from time to time.
You need to understand the basics of its error solving. Deleting extra themes is recommended from the security point of view.
Whenever a website gets hacked, WordPress experts check if there is any other theme or outdated plugin is there.
Using cPanel to delete all extra themes is always the best way to go. Even if you're a non-technical person, following these steps is easy.
Within a few minutes, you can accomplish such a task.
Check out these top 3 WordPress hosting services: