Recovering Hacked WordPress Blogs

Hacking has always been a prevailing threat to any website. This unwelcome threat is often also experienced by WordPress blogs too. WordPress gives keen importance to securing all its blogs from hackers and any such threat that could be expected. WordPress has experienced hacking in different areas of its functionality like databases, plug in, themes, basic installations and many other areas.

WordPress Hacked

WordPress Hacked

WordPress is attacked by viruses that are injected into PHP files and Javascript. Another way of harming WordPress blog is through posting harmful links. Usually not only one website gets infected but all or majority of them that were using the same server as the affected ones are hacked. Below are a few steps that will help you recover your hacked site and fix it back to normal.

Before we go about getting our WordPress fixed, always remember to make periodic backups to save yourself from any unfortunate loses. Getting to solve your problem, you will begin with recognizing the files that are infected by the virus. To do this you could take assistance from a tool that Cory had on his blog which helped me discover the date when my PC was attacked by a virus. In my case, the hacker uploaded a dodgy plug in which give the hackers control over my install as administrative users.

After identifying the core infected files, you will delete or uninstall them from your system and then change the password of your website or your FTP user name. Like backups, it is also advisable to change your passwords periodically so that even if you are hacked, the hacker will have less or no control. After that, the next thing that needs to be change is ‘MySQL’ password and username. Your third step is to update your wpconfig.php file. Now you will login to PHP My Admin and make backups on your database.

The day your system was hacked does not assure you that execution happened at the same time too, so you should chose a backup that was saved prior to the date hacking took place. I was unsure about the dates, so I preferred choosing the back up that was made soon after my last posts. You need to be sure about completing the above steps before moving on. The next step will restore everything but before that it will delete and clear everything out. This will be done by running the SQL statement which will be present in PHP My Admin in SQL field.

After this step you will go to the dashboard of your WordPress and upgrade it. If you miss out on this step, not to worry as WordPress will remind you to do so. Give your WordPress a new admin name and password which is completely different from the previous one. Give a check to the user list as a final step to see if someone is also mention in the admin panel. Like it is always been said “prevention is better than cure”, we will look at a few quick and easy precautions to save ourselves form going through all this hassle. All you have to do is make strong passwords and be careful not to assign admin user name as user admin.

About Author: David Rice is a content writer working and writing content for codemywp a reputed PSD to WordPress Conversion service provider in the Industry.


  1. Jon Millard December 30, 2013
  2. Angelina December 29, 2013
  3. Charlie Simpson December 22, 2013
  4. Jack December 20, 2013
Games Security
7 Greatest Ways to Get Feedback from Your Users
How to Keep Your Family Safe Online?
Small Businesses
5 Key Data Conversion Challenges Faced by Small Businesses
External Giveaway Freebie TechnoGiants Giveaway
Focusky Pro
Giveaway #41: Focusky Pro 3-months Plan Subscription
Freebie: MacXDVD Gives Away 10K Free Copies of MacX Video Converter
Giveaway #40: FlipHTML5 Flipbook 3-months Platinum Plan Subscription
Android iPhone
Spend some Alone Time Watching your Favorite Movies on these Apps
Duplicate Files
Review – Duplicate Files Fixer Android App
Chat Apps
Best iOS Chat Apps 2018 – Our Top Rated List
Voice Search
Voice Search Optimization Tips and Tricks for 2018
SEO Professionals
Qualities of a Competent SEO Professionals — Who Should You Hire for Your Business?
Get the most out of SEO with the Least but the Effective Efforts
MAC Software
10 Ways Technology Helps Us Connect More Deeply
13 Reasons Why You Need to Go Wireless Communications
E-commerce CMS Platform
10 Benefits of Using Magento as Your Preferred E-Commerce Platform
Blogging Social Media
Social Media Marketing
Social Media Marketing: What is it and Why Must You Start Considering for Your Business?
How to Increase Viewers to Your Twitter Stories?
Analytics Tools
The Top 3 Analytics Tools for WordPress Bloggers
Lead Generation
Infographic: Inbound Lead Generation Checklist
Paid Ads
Infographic: Improvising Quality Score for your Paid Ads
Online Presence
Infographic: How to Maintain a Professional Online Presence as a Service Provider
Smart Cities
Infographic: 3 Reasons Behind the Need for Smart Cities