To manage your databases, you need to access phpMyAdmin in your cPanel account. You can export and import databases here. However, we don’t recommend this if you don’t know what you’re doing. It’s better to use a backup plugin that does this for you.
This method is useful if you are unable to access your WordPress dashboard for various reasons. To use this method, you will need to install and know how to use an FTP client like FileZilla.
You’ll also need your FTP details, including your hostname
FTP username, and password. If you don’t albania phone number library know what these details are, you’ll find them under FTP Accounts in your host’s cPanel. You can also ask your host’s customer support. Now, head over to WordPress.org and download the latest version of WordPress.
You will now have a zip file downloaded to your computer. We recommend storing this file in a separate folder that you can easily access and identify as you will need it later.
Extract all of the website files from the zip file. Then, inside the WordPress folder, delete the folder named wp-content You can also delete the original zip file now as you won’t need it.
Now, connect to your host using SFTP . You will need to open FileZilla, enter the correct hostname, username, and password, and connect to the server. Once the connection is established, you should see your WordPress installation folders, including wp-content, wp-admin, and wp-includes, appear in the right-hand panel. If you don’t see them, you’ll need to locate a folder called Public_html . This is usually where your WordPress installation is located.
On the left pane, there is your local computer. Here, you need to select the files you just extracted on your computer and then right-click and upload them to the serverThen you will see a message on the screen saying Target File Already Exists .
On the right side, under Action , select Overwrite and click the Ok button
This process will replace all core WordPress files.
Since you deleted the wp-content folder in the new installation, the original wp-content folder will remain intact. It contains all your media files, themes, plugins, uploads, and so on. Therefore, replacing the files will not affect your WordPress themes or plugins. After the process is complete, your WordPress core files will be newly installed.
If you don’t have an FTP client, you can log into cPanel and go to File Manager .
Here you will see a folder called public_html which contains your website files.
You can replace the current files with your backup copy here.
Method 4: How to Restore WordPress Files from the Dashboard
This method is the easiest way to restore your WordPress core files from a backup. And the best part is that you can do it right from your WordPress dashboard with just one click.
So, if you still have access to your WordPress dashboard, try this method. This will only replace the core WordPress files. To start, log in to your WordPress dashboard. Now, go to Updates . Here, you will see an option called Re-install Now button . Click on it.
WordPress will only take a few seconds to reinstall the latest version for you. Once it’s done, you’ll have a new version installed. By doing this, you’ll be manually running through the update process that WordPress performs from time to time.
BONUS: What if I don’t have a backup?
If you don’t have a website backup, you’re advantages: why erp is important for your business not alone. Most website owners don’t know that they need to backup their websites. Some think that nothing bad will happen to them.
Whatever the reason, you may not have backed up your website, leaving you worried that you won’t be able to recover it. Now there’s hope.
Now there is hope. This may or may not work for you, and it all depends on whether your web host offers this option. It also depends on whether it was enabled when you installed WordPress.
In your hosting cPanel, access the Softaculous App Installer .
Here, you will see icons in the top menu. Choose the Backup & Restore icon like thisIf you’re lucky, Softaculous may have made backups for you. You can get a full or partial backup that was made while your site’s plugins and themes were being updated.
Just click the restore button hereThis takes anywhere from a few seconds to a few minutes, depending on the size of your site. When the backup is restored, you will see a success message.We cannot guarantee how much of your site can be restored using this method. It’s best to create regular backups of your site using a backup plugin like Duplicator . You can also use UpdraftPlus , BackupBuddy , or BlogVault . With easy one-click backup restore options, you’ll be able to get your site back to normal in seconds.
If you run an e-commerce website, you may want to set up real-time site backups so that all orders and their details are saved. We hope this guide was helpful! We should mention that one of the ways people tend to lose important data from their WordPress website is when trying out new features. Website builders add elements to the website code that can have a negative impact on the entire website.
If you want to know how to safely phone number united states of america experiment on your website so you don’t lose important data, check out the best staging plugins for WordPress.
They will help you work on your website while reducing the risk of data loss during the process. However, if you do lose some data, now you know how to recover it in just a few minutes!