Dickson Business Computer Co. Limited

Home › Guides › Website hacked?

Guide

Website Hacked? What to Do First

If your website sends visitors to strange sites, Google shows pages you never wrote, or your host has suspended the account, it has probably been hacked. Act fast, but don’t delete everything: take the site offline, change the passwords from a clean computer and keep a copy of the files and logs. Then clean it up, close the hole the attacker used and ask Google to remove its warning. Each step is below.

Signs your website has been hacked

  • Visitors are sent to gambling, adult or fake shop sites, sometimes only on phones or only when they come from Google.
  • Google lists pages under your site’s name in Japanese or gibberish, or shows a warning next to your results.
  • Browsers or antivirus software warn people about your site.
  • Admin users, plugins or files appear that nobody on your side added.
  • Your hosting company suspends the account or reports malware.
  • Search Console emails you about security issues.

The first hour

  1. Take the site offline, or ask your host to suspend it, so visitors and Google stop seeing the hacked pages.
  2. Change every password from a clean computer: hosting, website admin, database, FTP and email.
  3. Keep a copy of the files and logs before anything is deleted. They show how the attacker got in.
  4. Tell your hosting company. They can see what changed on the server, and other sites on it may be at risk too.
  5. Open Search Console’s Security issues report to see what Google has found.

Cleaning up

  • Restore a clean backup from before the break-in, if you have one, and update everything before it goes back online.
  • Update PHP, WordPress, plugins and themes, and delete the ones you don’t use.
  • Remove what the attacker added: unknown admin users, files, plugins and scheduled tasks.
  • Find the hole. Out-of-date software, insecure plugins and weak or reused passwords are common ways in. If the hole stays open, the site gets hacked again.
  • Ask Google for a review. Once everything is fixed, select Request Review in Search Console’s Security issues report and describe what you fixed.

Does the site run on PHP? Check it against the PHP2Shell alert: HKCERT rated those flaws an extremely high risk in October 2026.

If customer data was involved

If the site holds customer details, such as enquiry forms, orders or member accounts, check whether they were exposed. Report the incident to HKCERT through its incident reporting form, and read the Privacy Commissioner’s guidance on data breach notification.

Stop it happening again

  • Keep PHP, WordPress, plugins and themes up to date, and check every month.
  • Keep backups somewhere other than the web server, and test restoring one.
  • Use a different strong password for each account, with two-step login where you can.
  • Keep plugins to the ones you need: each one is another way in.
  • Watch Search Console: Google emails you when it finds a problem.

How we can help

We can check the site, find how the attacker got in, restore it from a clean backup or clean it up, update PHP and WordPress, and ask Google for a review once it’s fixed. Call or WhatsApp Matthew on 9600 8234 with your website address. Every job is quoted first.

Common questions

Should we just delete the website and start again?

Not straight away. Keep a copy of the files and logs first, because they show how the attacker got in. A new site with the same hole gets hacked again.

How do we get Google’s warning removed?

Fix every issue in Search Console’s Security issues report, then select Request Review and describe what you fixed. Google checks the site again and removes the warning once it’s clean.

Our site runs on WordPress. Is that why?

WordPress itself is updated regularly, but sites get hacked through plugins, themes and PHP that aren’t. Update them and remove what you don’t use.

Do we need to tell our customers?

If their personal data may have been exposed, consider it. The Privacy Commissioner’s guidance on data breach notification explains what to do.

Can you look after the site afterwards?

Yes. We can keep PHP, WordPress and plugins updated and watch Search Console for you. Ask Matthew about a monthly plan.

Sources: web.dev (Google): Help, I think I’ve been hacked · Search Console Help: Security issues report · WordPress: FAQ, my site was hacked

Talk to Matthew

WhatsApp or call Matthew on 9600 8234 about your website, or email matthew.to@dbcomputer.hk. Tell us what you need and we’ll send a quote.

Address: Unit 503, 5/F, Tower 2, Lippo Centre, 89 Queensway, Admiralty, Hong Kong (office visits by appointment)
Office line: 2374 4400
Hours: Monday to Saturday, 9:00–17:30
Service area: all of Hong Kong

Send us your enquiry

Opens WhatsApp or your email app with your message ready to send; you can add a photo there. We only use your details to reply to your enquiry.

WhatsApp 9600 8234 📞 Call