Sometimes when your website, especially one using WordPress, experiences an error, you need to deactivate your WordPress theme via the file manager to check if the error is caused by your theme or not.
Before deactivating the theme, make sure you have one of the default WordPress themes (Twenty Twenty-one, Twenty Twenty-Two, etc.) installed.
What You Need
- A website with WordPress CMS
- Access to the file manager or FTP, here we are using the cPanel File Manager
- A default WordPress theme that is already installed (it does not need to be active)
How to Deactivate a WordPress Theme via File Manager
- Log in to your web hosting, then find and open the File Manager page
- Find your website installation folder. If your website can be accessed via https://namaweb.site, usually the installation folder is inside the public_html
- Inside the WordPress installation folder, find and open the wp-content
- Next, open the themes folder that is inside the wp-content
- Find the folder name of your currently active theme, for example Astra
- Then rename that theme folder, for example to astra.hold
- Open your website again, and the theme will automatically be changed to the default WordPress theme
COMMENTS
Loading...