Skip to content
+92 340 1417862
Digital MarketingIslamabad

Answered · How to

My WordPress site has been hacked. What should I do first?

If your WordPress site is hacked, take a copy of everything as it is, change all passwords, then restore from a clean backup made before the hack or have the infection cleaned. Close the hole that let attackers in, usually an outdated plugin or weak password, and ask Google to review the site if it was flagged.

Meri website hack ho gayi hai, ab kya karun?

The longer answer

Do not start deleting files in a panic. First take a full copy of the site and database as they are, because you may need it to work out what happened. Then change every password connected to the site: WordPress admin accounts, hosting, database, FTP or file manager, and the email address used for password resets. Check the list of WordPress users for accounts you do not recognise and remove them. If you have a backup from before the problem started, and you are confident it is clean, restoring it is often the fastest route.

If there is no clean backup, the infection must be removed by hand. That means comparing WordPress core files against fresh copies, reinstalling plugins and themes from official sources, searching for injected code in files and the database, and removing anything suspicious. Pirated or nulled themes and plugins, which are common on cheaply built sites, often contain hidden backdoors and should be replaced entirely. Scanner plugins help but are not proof of a clean site; attackers frequently leave several ways back in.

After cleanup, find and fix the original entry point, or the site will be hacked again. Update everything, delete unused plugins and themes, turn on two-factor login, and set up off-site backups. If Google shows a warning in search results or Chrome, request a review in Search Console once the site is clean. If customer data might have been exposed, consider what you owe those customers. Our maintenance service handles hacked-site recovery for existing sites after an assessment, and sites under the Business bundle are backed up off-site and monitored as standard.

If you would rather we did it

This question usually leads to the Business bundle package. A local shop, clinic or service that needs to be findable, not just posted.

from PKR 25,000

per month

  • Website built and hosted
  • Google Business Profile set up and posted to weekly
  • Social media management on 1-2 platforms
  • Local SEO for Islamabad or Rawalpindi
  • Monthly report on WhatsApp

Checked and updated

Next step

Still not sure what to do about it?

Send us the account and we will tell you what we would change first. Free, in about five minutes, no call attached.

WhatsApp us
WhatsAppFree audit