All guides
Troubleshooting guide Recovery

WordPress Site Recovery Without a Backup

No backup? You can still recover most sites, here's how.

Arjun Mehta Published June 8, 2026 Updated June 19, 2026 8 min read Step-by-step walkthrough
Reviewed and tested by the WPRescue team on a real WordPress install before publishing. How we test fixes
UpdraftPlus backup and restore interface

What's Happening

If your site is broken and you have no backup, your best assets are: a clean WordPress download, your database, and your uploads folder.

It's 2 AM. Your phone rings. It's a panicked client. Their WordPress site is down. They don't have a backup. We've all been there. It's a horrible feeling. The good news is, in many cases, you can recover a WordPress site without a backup. It won't be easy, and it won't be exactly how it was, but we can get it back online.

The first time I encountered this scenario, I was fresh out of college, working at a small agency. A client's site, a local restaurant, had been hacked. The hosting provider had taken it offline. The client, a very sweet older couple, had no idea what a backup was. My boss just shrugged and said, "Figure it out." I spent the next 72 hours straight, fueled by coffee and sheer panic, piecing together their site from whatever I could find on the server.

The key to this kind of recovery is understanding the components of a WordPress site. You have the WordPress core files, your themes, your plugins, your uploads (images, documents), and your database. If you lose the core files, themes, and plugins but still have your database and uploads, you have a solid foundation to rebuild.

This guide is for when you've exhausted all other options. There's no backup in your hosting control panel. There's no `wp-config.php` backup. Your developer, if you even had one, is out of the picture. This is about gritty, hands-on recovery using what's left on the server.

Assess the Damage

Before you do anything, you need to figure out what's gone wrong. Is the site completely down? Are there error messages? Can you access the wp-admin? What caused the problem? Often, a site goes down because of a plugin update gone wrong, a theme conflict, or a malicious attack.

Check your hosting control panel. Look at the file manager. Can you see your WordPress installation? Are the folders like `wp-admin`, `wp-includes`, and `wp-content` still there? What about the `wp-config.php` file? This file is crucial.

A customer once panicked at 2 AM because their site showed a blank white screen. It turned out to be a plugin conflict after an automatic update. By simply renaming the plugin's folder via FTP, we got the site back online. This isn't always the case, but it's a good place to start your investigation.

Backup Whatever You Can Find

Even if you don't have a full site backup, you absolutely must back up everything you can find before proceeding. This is your last resort, your lifeline. If something goes wrong during the recovery process, you'll be glad you have these files.

Use an FTP client like FileZilla or your hosting provider's file manager to download the entire `public_html` (or equivalent) directory. This might take a while, depending on the size of your site and your internet connection. Don't skip this step. Trust me on this.

While you're at it, export your database. Access phpMyAdmin through your hosting control panel. Select your WordPress database and click on the 'Export' tab. Choose 'Quick' export with SQL format. Save this file to your local machine. This database is the heart of your site. Without it, your content, users, and settings are essentially gone.

New WordPress Core Installation

The safest way to get a clean, working WordPress environment is to install a fresh copy of WordPress. This replaces any potentially corrupted core files, themes, or plugins that might be causing issues. This is a "scorched earth" approach that works when you're desperate.

First, delete everything in your previous WordPress installation directory, *except* for the `wp-content` folder and your `wp-config.php` file (if it's still present and you've backed it up). If you can't find `wp-config.php`, don't worry, we will create a new one. Remember, we backed up everything already, so we have a parachute.

Download the latest version of WordPress from wordpress.org. Upload the `wp-admin`, `wp-includes`, and the new core files into your `public_html` directory using FTP. Do not upload the new `wp-content` folder, as we want to preserve our old one.

WordPress admin dashboard
WordPress admin dashboard

Restore Your `wp-config.php` File

If you were lucky enough to find your old `wp-config.php` file and backed it up, now is the time to restore it. Upload it back into your root WordPress directory. This file contains your database connection details, unique security keys, and other important settings.

If you didn't have an old `wp-config.php` file, you'll need to create a new one. Rename `wp-config-sample.php` to `wp-config.php`. You'll need your database name, username, password, and host. Your hosting provider can give you these details if you don't know them. Fill in the following lines:

Once you've filled in these details, you'll also want to generate new security keys and salts. Go to the WordPress API salt generator page and copy the generated salts into your new `wp-config.php` file. This adds an extra layer of security to your site.

php
define( 'DB_NAME', 'your_database_name' );
define( 'DB_USER', 'your_database_username' );
define( 'DB_PASSWORD', 'your_database_password' );
define( 'DB_HOST', 'localhost' );

Database Repair and Restoration

With a fresh core and a working `wp-config.php`, your site should be able to connect to the database. However, the database itself might have issues. Sometimes, during a hack or a crash, database tables can become corrupted. WordPress has a built-in repair tool for exactly this situation.

Add the following line to your `wp-config.php` file, just above the `/* That's all, stop editing! Happy publishing. */` comment:

Now, visit `yourdomain.com/wp-admin/maint/repair.php`. You should see an option to 'Repair Database' or 'Repair and Optimize Database'. Run this tool. It can fix common database table issues. Once you're done, remember to remove the line you added to `wp-config.php` for security reasons.

Reinstall Themes and Plugins

Since we started with a fresh WordPress core, all your themes and plugins are gone. You'll need to reinstall them. The good news is that your database still holds all the settings for these. So once they're reinstalled, they should function as they did before, assuming their files weren't corrupted.

Log into your wp-admin. Go to Appearance > Themes and Plugins > Add New. Search for and reinstall all the themes and plugins you were using. If you were using premium themes or plugins, you'll need to upload them manually via FTP to the `wp-content/themes` and `wp-content/plugins` directories respectively, and then activate them in the dashboard. Activate them one by one to avoid conflicts.

Remember to clear any caching plugins you might have had installed after reinstalling everything. Outdated cache can sometimes prevent changes from showing up or cause unexpected behavior. This is a common oversight that can drive you crazy if you forget it.

Active WordPress plugins list
Active WordPress plugins list

Check Your Uploads

Your uploads, especially images, are critical. If you left your `wp-content/uploads` folder intact during the fresh installation, these files should still be there. However, sometimes the database references to these files can be broken. The good news is that WordPress is often smart enough to rebuild these connections.

After reinstalling themes and plugins, visit some of your site's pages and posts. Do the images appear correctly? If not, you might need to use a plugin like "Regenerate Thumbnails" to re-process your image sizes. This can often fix broken image links by forcing WordPress to re-index your media library.

It's also a good idea to check your permalinks. Go to Settings > Permalinks in your wp-admin and simply click "Save Changes" without making any actual changes. This refreshes your permalink structure and can fix issues with broken links to posts and pages.

  • Check if images are loading on the front end.
  • If images are broken, try a Regenerate Thumbnails plugin.
  • Go to Settings > Permalinks and resave them.

Security and Post-Recovery Steps

After you've recovered your site, security should be your top priority. If the site was hacked, you need to assume the attacker still has a way in. Change all your WordPress user passwords immediately, especially for administrators. Use strong, unique passwords.

Install a reputable security plugin like Wordfence or Sucuri. Run a full scan of your site. This will help identify any remaining malicious files or backdoors. Clean anything it finds. Also, check your WordPress settings for any new administrative users you don't recognize. Delete them immediately.

Finally, set up a proper backup solution. This cannot be stressed enough. Use a plugin like UpdraftPlus or set up backups through your hosting provider. Make sure backups are automated and stored off-site. The experience of recovering a site without a backup should only happen once.

Complete Fix Checklist

  1. 1Download a fresh copy of WordPress.
  2. 2Replace /wp-admin and /wp-includes with the fresh copies via FTP.
  3. 3Keep /wp-content (your themes, plugins, uploads) and wp-config.php untouched.
  4. 4Take a database backup via phpMyAdmin immediately.
  5. 5Disable all plugins and switch to a default theme to confirm core is healthy.

Quick Tips

  • Set up daily automatic backups after recovery (UpdraftPlus, BlogVault)

Frequently Asked Questions

What if I don't have access to my hosting control panel or FTP?
This is a tough situation. You'll need to contact your hosting provider immediately. Explain your situation and ask for their help in gaining access to your files and database. Without access, any recovery attempts are almost impossible.
My site is back online, but some images are missing. What can I do?
First, check your `wp-content/uploads` folder via FTP to ensure the image files are physically present. If they are, try using a plugin like "Regenerate Thumbnails" which can re-process your images and update the database references. If the files are missing, you might have lost them permanently.
I reinstalled WordPress, but my custom theme's settings are gone. Why?
When you reinstalled WordPress, you also effectively replaced your theme files. While your database often holds theme settings, some themes store settings in their own files within the `wp-content/themes/your-theme-name` directory. If you didn't back up that specific theme folder, those custom settings would be lost. This is why a complete file backup is so crucial.
How can I prevent this from happening again?
Implement a robust backup strategy immediately. Use a reliable backup plugin or your host's backup service. Crucially, store backups off-site. Additionally, keep your WordPress core, themes, and plugins updated. Use strong, unique passwords for all accounts, and consider a security plugin to monitor for threats.
Is there a way to roll back to a previous state if I don't have a backup?
Without a backup, a direct "rollback" isn't possible. The method described in this guide is essentially a manual rebuild, taking your database and uploads and reconnecting them to a fresh WordPress installation. It's about recovering components, not restoring a full snapshot.
Some of my pages are showing "Page Not Found" after recovery. How do I fix this?
This is often a permalink issue. Go to your WordPress dashboard, navigate to Settings > Permalinks, and simply click the "Save Changes" button without making any actual modifications. This action flushes and rebuilds your permalink structure, which usually resolves such errors. Also, clear any caching.

Related Guides