How to Deactivate a WordPress Theme via File Manager

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

  1. Log in to your web hosting, then find and open the File Manager page
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 1
  2. Find your website installation folder. If your website can be accessed via https://namaweb.site, usually the installation folder is inside the public_html
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 2
  3. Inside the WordPress installation folder, find and open the wp-content
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 3
  4. Next, open the themes folder that is inside the wp-content
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 4
  5. Find the folder name of your currently active theme, for example Astra
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 5
  6. Then rename that theme folder, for example to astra.hold
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 6
  7. Open your website again, and the theme will automatically be changed to the default WordPress theme
    Cara Menonaktifkan Theme WordPress Melalui File Manager - 7Cara Menonaktifkan Theme WordPress Melalui File Manager - 8

 

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...