Some hacks are obvious: a defaced homepage or a browser warning. Many are deliberately hidden, showing spam only to search engines, redirecting only mobile visitors or quietly stealing data. The sooner you spot the signs, the less damage is done. These are the symptoms I look for when clients ask whether their site has been compromised, and the first checks to make.
Unexpected redirects
Visitors being sent to unrelated sites, such as gambling, pharmaceutical or scam pages, is one of the most common signs. Redirects may only happen on mobile, only from search results or only on the first visit, so the site can look normal when you visit directly.
Test by searching for your site on Google and clicking the result on a phone using mobile data, and ask others to try.
Spam pages in Google
Search Google for site:yourdomain.com and look for pages you did not create, often with titles in other languages or about unrelated products. This is called SEO spam, and the pages may only be visible to search engines.
Search Console’s Performance report may show strange queries, and the Pages report may list unknown URLs being indexed. See using Google Search Console.
- RedirectsOften mobile only
- Spam in Googlesite: search
- WarningsBrowser and Search Console
- Unknown adminsUsers list and database
- Strange filesPHP in uploads
- Host noticesSpam or malware
Browser and Google warnings
Warnings such as ‘Deceptive site ahead’, ‘This site may be hacked’ in search results or ‘The site ahead contains malware’ mean Google has detected a problem. Antivirus software may also block visits to the site.
Check Search Console’s Security issues report for details. See removing a Google blacklist warning.
New or unknown admin users
Check Users in the WordPress dashboard for administrator accounts you do not recognise. Attackers often create admin users to regain access later. Some hide these accounts from the user list, so check the database too if you suspect a compromise.
An activity log shows when users were created and by whom. See WordPress activity logs.
Unknown files and modified code
Look for PHP files in the uploads folder, files with random names in the site root, recently modified core files and unfamiliar code in theme files, wp-config.php or .htaccess. Obfuscated code using base64_decode, eval or long encoded strings is a strong warning sign.
Security scanners compare core files with official versions and flag changes. See scanning WordPress for malware.
Hosting warnings and suspension
Hosts may email warnings about malware, spam sending or unusual resource use, or suspend the account. Treat these messages seriously; hosts often detect problems before owners do.
If your host reports outgoing spam, your site may be sending emails through a hidden script.
Email problems
Messages from your domain bouncing or landing in spam, or recipients reporting phishing emails that appear to come from you, can indicate a compromised site or email account, or spoofing of your domain.
Check your email authentication and account security. See SPF, DKIM and DMARC.
Slow performance and high resource use
A sudden slowdown or spike in CPU usage without a traffic increase can mean malicious scripts are running, such as cryptocurrency miners, spam senders or attack tools. Check hosting resource graphs and running processes if available.
Not every slowdown is a hack; plugins and traffic spikes cause them too. See how to speed up WordPress.
Changed content and settings
Unexpected changes to the site title, homepage, menus, site URLs or admin email address, or injected links and scripts in posts, point to unauthorised access. On stores, check payment settings and checkout pages for unfamiliar scripts.
Card skimming scripts may only appear on checkout pages. See WooCommerce security basics.
Security plugin alerts
Security plugins alert you to modified files, known malware signatures, failed logins and vulnerable plugins. Do not ignore these emails; investigate promptly. Many hacks are detected by alerts before visitors notice.
If alerts are too frequent to read, adjust settings so important ones stand out.
First checks to make
Take a backup of the current site, then run a server-side malware scan, review admin users, check recently modified files, look at Search Console’s Security issues report and search Google for spam pages. Check with your host for any notices.
Change administrator, hosting and database passwords from a clean device if you see any signs.
What to do next
If you confirm a hack, follow a full cleanup process: replace core, plugin and theme files, clean the database and uploads, close the vulnerability and request reviews from Google and blocklists.
See what to do when your WordPress site is hacked for the complete process.
Getting help
If you see any of these signs, contact me for a quick check. Malware cleanup and monitoring are part of my website protection service.
To prevent future hacks, follow my security hardening checklist.
Key takeaways
- Many hacks are hidden from owners and only show to visitors or search engines.
- Search Google for site:yourdomain.com to find spam pages.
- Check for unknown admin users and PHP files in the uploads folder.
- Back up, scan and change passwords as soon as you see warning signs.
Frequently asked questions
Can my site be hacked without me noticing?
Yes. Many hacks hide spam or redirects from logged-in users and direct visitors.
Why do redirects only happen on mobile?
Attackers target mobile visitors and search traffic to avoid detection by owners.
How do I check for malware?
Run a server-side scan with your host or a security plugin, and check Search Console.
Is a slow site a sign of hacking?
Sometimes, but plugins and traffic are more common causes.
What should I do first?
Back up the current site, scan it and change key passwords from a clean device.
Can Google tell me if my site is hacked?
Search Console's Security issues report shows problems Google detects.
Why does my antivirus block my own website?
Your site may be on a security vendor blocklist because of malware or phishing content. Scan the site and request removal once clean.
Can a hacked site infect visitors?
Yes. Malicious scripts can redirect visitors to scams or attempt to download malware, which is why warnings appear.
