Normally, you can change your WordPress theme easily from the Appearance → Themes section in the dashboard. However, if the dashboard becomes inaccessible (for example, due to a broken theme), you can change the theme manually. On ruachost.com, there are two main methods: via File Manager or via phpMyAdmin.
Why Change a Theme Manually?
-
Recover access when the dashboard is broken.
-
Replace a corrupted theme with a working one.
-
Switch themes during troubleshooting.
Method 1: Rename and Copy Theme Folders
-
Log in to cPanel from your ruachost.com hosting account.
-
Go to Files → File Manager.
-
Navigate to the folder where WordPress is installed (usually
public_html). -
Open the wp-content/themes directory.
-
Right‑click the folder of the currently active theme → Rename.
-
Example: rename
twentytwentytotwentytwenty.original.
-
-
Right‑click the folder of the new theme you want to use → Copy.
-
Name the copied folder with the original theme’s name (e.g.,
twentytwenty). -
Save changes → The new theme takes effect immediately.
Method 2: Modify the WordPress Database
-
Log in to cPanel → Go to Databases → phpMyAdmin.
-
Select your WordPress database (usually
username_wpXXX). -
Open the wp_options table.
-
Locate the rows with
option_name=templateandstylesheet. -
Click Edit for each row.
-
Replace the current theme name with the new theme’s folder name.
-
Click Go to save changes.
-
WordPress will now load with the new theme.
Important Notes
-
Ensure the new theme is already installed in
wp-content/themes. -
Always back up your site before making manual changes.
-
If the new theme is missing or misnamed, WordPress may revert to a default theme.