My WordPress site has been hacked
Visitors are sent to spam, Google warns about harmful content, or users you don't know have appeared. Here's what to do first, and how to stop it happening again.
- Articles
- 9
- Updated
- Written by
- The developers at PXL
What do you see?
The tag shows the access you need.
- Browser
Signs that your WordPress site is hacked
Malicious code often only fires for visitors from Google or on a phone, so the owner never sees it. How to tell the site is hacked, and what to do first.
- FTP
The site sends visitors to spam
The code may only fire for visitors who come from Google or use a phone, so you never see it yourself. How to find the code behind it.
- Browser
Japanese search results in Google
Google shows Japanese pages under your domain. It's a known attack that creates thousands of spam pages.
- Browser
“Deceptive site ahead” and other Google warnings
Google has flagged the site as dangerous. How to clean up and request a new review in Search Console.
- FTP
Remove malware from WordPress
Wordfence and other scanners miss code they don't recognise. How to replace the files with clean copies and find the hole the attacker came in through.
- WP admin
An unknown administrator has appeared
It's a sign of a break-in. How to lock the user out, find the security hole the attacker used, and delete the user last.
- WP admin
Fake orders in WooCommerce
Bots test stolen card numbers through your checkout. How to stop them without locking out real customers.
- Hosting panel
php2shell: how to patch PHP
PHP fixed two critical vulnerabilities on 21 October 2026 in 8.2.35, 8.3.36, 8.4.27 and 8.5.12. How to patch PHP on shared hosting, your own server and Docker.
- FTP
Check whether your server was attacked through php2shell
Patching doesn't remove a backdoor planted before the fix. How to look for web shells, unknown users and other traces from 17 October onwards.