Is your WordPress site showing a white screen, error messages, or just won’t load? Don’t panic—this guide walks you through proven steps to diagnose and fix common issues. From deactivating plugins to restoring backups, you’ll get your site back online safely and efficiently.
Key Takeaways
- Always start with a backup: Before making any changes, ensure you have a recent backup to avoid data loss.
- Identify the cause first: Common culprits include faulty plugins, broken themes, or PHP errors—pinpoint the issue before fixing.
- Use safe mode techniques: Access your site via FTP or file manager to disable plugins or switch themes when the dashboard is inaccessible.
- Check for white screen of death (WSOD): This often means a PHP error—enable debugging to see what’s wrong.
- Restore from backup if needed: If all else fails, restoring a clean backup is the fastest way to recover.
- Keep WordPress updated: Regular updates prevent many breakages caused by outdated code.
- Test after every fix: Make one change at a time and check if the site works to avoid confusion.
How to Fix a Broken WordPress Site
So your WordPress site is down—maybe it’s showing a blank white screen, throwing a “500 Internal Server Error,” or just won’t load at all. First, take a deep breath. Most WordPress issues are fixable, even if you can’t access the admin dashboard.
In this guide, you’ll learn how to fix a broken WordPress site step by step. We’ll cover the most common causes—like plugin conflicts, theme errors, and database problems—and show you exactly how to resolve them safely. Whether you’re a beginner or a seasoned user, these practical steps will help you restore your site quickly.
Step 1: Stay Calm and Assess the Problem

Visual guide about How to Fix a Broken WordPress Site
Image source: urbanhaze.com
Before jumping into fixes, figure out what’s actually broken. Ask yourself:
- Did the site go down after installing a new plugin or updating a theme?
- Are you seeing a specific error message (like “Error establishing a database connection”)?
- Is the site completely blank, or just parts of it aren’t loading?
Knowing the context helps you choose the right fix. For example, if the site broke after installing a new plugin, that plugin is likely the culprit.
Step 2: Access Your Site via FTP or File Manager

Visual guide about How to Fix a Broken WordPress Site
Image source: media2.dev.to
If your WordPress dashboard is inaccessible, you’ll need to use FTP (File Transfer Protocol) or your hosting provider’s file manager (like cPanel).
How to Connect via FTP
- Use an FTP client like FileZilla.
- Enter your FTP credentials (host, username, password)—usually found in your hosting account.
- Navigate to the
public_htmlorwp-contentfolder.
Using cPanel File Manager
- Log in to your hosting control panel.
- Open “File Manager” and go to your WordPress root directory.
- You can now edit, rename, or delete files directly.
This access lets you disable plugins or themes even when the admin area is down.
Step 3: Deactivate All Plugins

Visual guide about How to Fix a Broken WordPress Site
Image source: onsitewp.com
Plugins are one of the most common causes of site crashes. A faulty or incompatible plugin can break your site instantly.
How to Deactivate Plugins Manually
- Using FTP or file manager, go to
wp-content/plugins. - Rename the
pluginsfolder to something likeplugins_old. - This effectively deactivates all plugins.
- Try accessing your site. If it loads, the issue was plugin-related.
- Now rename the folder back to
pluginsand reactivate them one by one to find the problematic one.
Pro tip: Always test plugins in a staging environment before using them on a live site.
Step 4: Switch to a Default Theme
A broken or incompatible theme can also crash your site—especially after a WordPress update.
How to Change Your Theme via File Manager
- Go to
wp-content/themes. - Rename your current theme folder (e.g.,
mythemetomytheme_old). - WordPress will automatically fall back to a default theme like Twenty Twenty-Four.
- Visit your site—if it loads, the theme was the issue.
Once confirmed, you can either fix the theme or switch to a new one. For more details, check out our guide on how to apply a WordPress theme.
Step 5: Enable WordPress Debugging
If you’re seeing a white screen or vague error, enabling debugging can reveal the exact problem.
How to Turn On Debug Mode
- Open
wp-config.phpin your WordPress root folder. - Find the line that says
define('WP_DEBUG', false);. - Change it to:
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); - Save the file and reload your site.
- Check
wp-content/debug.logfor error details.
This log will show you exactly which file or plugin is causing the crash—making it easier to fix.
Step 6: Check for Database Issues
Sometimes, your site breaks because the database is corrupted or unreachable.
Signs of a Database Problem
- “Error establishing a database connection”
- Site loads but content is missing
- Admin login fails
How to Fix Database Errors
- Log in to phpMyAdmin via your hosting panel.
- Select your WordPress database.
- Click “Check All” and then “Repair table.”
- Also, verify your database credentials in
wp-config.php(DB_NAME, DB_USER, DB_PASSWORD).
If the database is severely corrupted, you may need to restore it from a backup.
Step 7: Restore from a Backup
If none of the above steps work, restoring a backup is your best option.
How to Restore a WordPress Backup
- Check if your host offers automatic backups (many do).
- Use a plugin like UpdraftPlus if you’ve set one up.
- Restore both files and database to a point before the site broke.
Important: Always test your backups regularly to ensure they’re working.
Step 8: Update Everything
Outdated software is a common cause of site issues.
What to Update
- WordPress core
- Themes
- Plugins
After fixing the immediate issue, log in to your dashboard and update everything. For themes, see our guide on how to update a theme on WordPress.
Step 9: Prevent Future Breakages
Now that your site is back, take steps to avoid this in the future:
- Use a staging site: Test updates and new plugins on a copy of your site first.
- Install a backup plugin: Set up automatic daily or weekly backups.
- Limit plugins: Only use well-reviewed, regularly updated plugins.
- Monitor uptime: Use tools like UptimeRobot to get alerts if your site goes down.
Troubleshooting Common Errors
White Screen of Death (WSOD)
Usually caused by a PHP error. Enable debugging (Step 5) to find the source.
500 Internal Server Error
Check your .htaccess file. Rename it to .htaccess_old and let WordPress regenerate it.
Memory Exhausted Error
Increase PHP memory limit by adding this to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');Conclusion
Fixing a broken WordPress site doesn’t have to be scary. By following these steps—starting with backups, disabling plugins, switching themes, and enabling debugging—you can resolve most issues quickly. Remember: most problems are caused by plugins, themes, or updates. Take it one step at a time, test after each change, and you’ll have your site running smoothly again.
And don’t forget to keep your site updated and backed up regularly. Prevention is always easier than repair.