Skip to main content
Security

Your WordPress Site Has Been Hacked — What to Do Next

Cyber security circuit board for recovering a hacked WordPress site
Home/Blog/Security

Your WordPress Site Has Been Hacked — What to Do Next

Spotted strange redirects, spam pages or a Google warning? Stay calm and follow these steps to clean and secure your WordPress website.

Related servicesMaintenance & SecuritySpeed & SEO Optimisation
Cyber security circuit board for recovering a hacked WordPress site

Finding out your site has been hacked is stressful. The good news is that WordPress sites can almost always be cleaned and secured. Act quickly and follow these steps.

Common signs of a hack

  • Visitors are redirected to strange websites
  • Unknown admin users or pages appear
  • Google shows a “This site may be hacked” warning
  • Your host suspends the account for malware
  • Spam links appear in search results for your site

Step 1: Don’t panic, and don’t delete everything

Take a full backup of the current state first. It helps find out what happened.

Step 2: Change every password

Change WordPress admin, hosting, FTP/SFTP and database passwords. Remove any user accounts you don’t recognise.

Step 3: Scan and clean

Use a trusted security scanner to find infected files. Replace WordPress core, themes and plugins with fresh copies, and carefully clean the database.

Step 4: Find and close the hole

Most hacks come from outdated plugins, weak passwords or nulled themes. Fix the cause, or the attacker will return.

Step 5: Request a review from Google

Once clean, request a review in Google Search Console to remove warnings.

Step 6: Harden your site

Add a firewall, two-factor login, daily backups and regular updates to stop it happening again.

Need urgent help? We clean hacked sites and secure them for the future — see our maintenance & security service.

Further reading

Need a hand?

Let our WordPress team handle it.

Related services: Maintenance & Security · Speed & SEO Optimisation

Get a free quote
Let's talk

Ready for a website that works?

Tell us about your project. We'll reply within one business day with ideas, a timeline and a fixed quote.

Start your
project ↗
Mukul Singh - Founder

Mukul is the mastermind behind Digital4Design, where he turns ideas into incredible websites that don’t just look good—they work flawlessly. With over 7 years of experience, he’s passionate about creating digital solutions that stand out and deliver results. As the founder, Mukul wears many hats, but his favorite part is collaborating with clients to bring their vision to life while ensuring every site is smooth, stunning, and user-friendly.