Most website owners don’t discover a hack on their own. Instead, a customer emails to say your site redirected them to a strange page. Or a Google search shows spammy results under your business name. In some cases, your hosting company suspends your account without much warning.
By then, the damage has often been building for days or weeks. That’s why it pays to know how to check if your WordPress site has been hacked before someone else tells you. If you’ve ever typed “how to check if wordpress site hacked” into a search box, this guide is for you.
In the next few minutes, you’ll learn:
- The warning signs that point to a hack
- Quick checks you can run yourself, without special tools
- Why a normal-looking homepage doesn’t mean your site is safe
- What not to do in the first hour
- When it’s time to call a professional
Warning Signs Your WordPress Site May Be Hacked
Hacks rarely announce themselves. Fortunately, they usually leave clues. Any one of the signs below deserves a closer look, and several together are a strong signal.
Your Site Suddenly Becomes Slow
Malware often uses your server’s resources to send spam, mine cryptocurrency or attack other sites. Consequently, a site that was fast last month and is sluggish today may be doing work you didn’t ask for. Of course, slowness has many harmless causes, so treat it as one clue rather than proof.
Unknown Administrator Users Appear
Attackers like to create their own admin accounts so they can return later. If you see a user you don’t recognize with the Administrator role, take it seriously. Pay special attention to accounts with generic names or email addresses from unfamiliar domains.
Visitors Get Redirected
Some hacks send visitors to unrelated sites, such as online pharmacies, gambling pages or fake prize pages. Notably, the redirect may only happen to certain visitors, for example people arriving from Google or using a phone. Therefore, you might never see it yourself.
Google or Your Browser Shows a Warning
Messages like “This site may be hacked” in search results, or a red warning page in Chrome, mean a security system has already noticed a problem. Similarly, an email from Google Search Console about security issues or manual actions is a serious alert.
Strange Content, Links or Pages Appear
Look for content you didn’t write, such as spam links in your footer, new pages in other languages, or posts about unrelated products. In many cases, the hacker adds hidden links that you can only find by viewing the page source.
Other Common Signs
- You’re locked out of your WordPress admin, or your password suddenly stops working
- Your hosting company sends a suspension or malware notice
- Your emails land in spam, or customers receive emails you never sent
- Files you didn’t upload appear on your server
- Security plugin alerts report modified core files
- Traffic drops sharply, or traffic spikes from odd countries
- Pages show errors or blank screens that weren’t there before
If your site is simply broken rather than hacked, our guide on what to check when your WordPress website is not working can help you tell the difference.
Quick Checks You Can Run Yourself
You don’t need to be a developer to run these checks. Before you start, however, read the “What not to do” section below, and take a backup first.
Check 1: Review Your Administrator User List
Log in to your dashboard and go to Users. Then filter by the Administrator role.
- Do you recognize every name and email address?
- Does anyone have a name like “support” or “wpadmin” that you never created?
- Are there former employees or freelancers who still have access?
Note any suspicious accounts, but don’t delete them yet. First, take a backup, as explained below, because the account may be useful as evidence. If you can’t log in at all, your host can help you check users through the database.
Check 2: Look for Recent File Changes
Compare what changed on your server with what you expect.
- Open your host’s File Manager or connect through FTP, and sort files by date modified
- Look inside
wp-content/uploads, where PHP files shouldn’t normally live - Watch for odd file names, or files modified at times when no one worked on the site
- Check the
wp-content/pluginsandwp-content/themesfolders for items you never installed
A security plugin can make this much easier. For example, Wordfence can scan your site and compare WordPress core, plugin and theme files with the official versions, and then report anything that doesn’t match.
Check 3: Search Your Site in Google
This simple check reveals a lot. In Google, type site:yourdomain.com (with your own domain) and look through the results.
- Do you see pages you never created?
- Do titles or descriptions mention pharmacy, gambling, adult or counterfeit products?
- Do results show text in another language?
- Does your business name appear next to a “This site may be hacked” warning?
Try searching for your brand name too, and look at what Google shows under your listing. Spam pages are common in hacked sites, as Google’s own guidance on hacked content explains.
Check 4: Look at Google Search Console
If you’ve set up Google Search Console, open the Security issues and Manual actions reports. Any message there is a strong sign of a problem. Also look at the Pages report for sudden spikes in indexed pages, since spam pages often inflate the number.
If you haven’t verified your site yet, do it now. It’s free, and it’s the fastest way to hear directly from Google.
Check 5: Test Whether Google Has Flagged Your Domain
Use Google’s Safe Browsing site status tool to see whether your domain is flagged for malware or deceptive content. In addition, a free scanner such as Sucuri SiteCheck can look at your public pages for known malware and blacklist status.
Keep in mind that external scanners only see what a visitor sees. They can miss problems hidden deeper in your files, which brings us to the next point.
Check 6: Visit Your Site the Way a New Visitor Would
Since some malware targets specific visitors, test your site as an outsider.
- Open a private or incognito window while logged out
- Visit on your phone using mobile data, not your office Wi-Fi
- Search for your business on Google, and click your own listing
- Click a few pages, and watch for redirects, pop-ups or odd behavior
Check 7: Run a Security Scan
Install one reputable security plugin, and run a full scan. Review the results for modified core files, unknown files and suspicious code. Remember to use only one security plugin, since several can conflict. Treat scan results as a starting point, not a final verdict, because no scanner catches everything.
Why a Clean Homepage Doesn’t Prove Your Site Is Safe
Many owners relax once their homepage looks normal. Unfortunately, that is exactly what attackers count on. A clean-looking homepage tells you very little, for several reasons.
- Malware can be selective. It may show harmful content only to visitors from search engines, mobile users or first-time visitors, and stay hidden from logged-in admins
- Backdoors stay out of sight. Attackers often leave hidden files that let them back in later, even after you remove the visible damage
- Spam pages hide in deep URLs. The hack may create hundreds of pages that your menu never links to
- Hidden admin users linger. An unknown administrator account can reopen the door at any time
- The database can be infected. Malicious code may sit inside posts, options or widgets, not only in files
- Attackers sometimes wait. A site can sit quietly compromised for weeks before the damage becomes obvious
In short, a normal homepage is a good sign, but it isn’t proof. Only a thorough check of users, files, the database and search results can show whether your site is truly clean.
What NOT to Do If You Suspect Your Site Is Hacked
Panic leads to mistakes. Before you touch anything, keep these rules in mind.
Don’t Delete Files or Change Things Before You Take a Backup
This is the most important rule. Deleting files or editing settings in a hurry can:
- Destroy evidence that shows how the attacker got in
- Break your site and make recovery harder
- Remove only the visible symptoms, while hidden backdoors stay
- Leave you without any copy of the site to restore from
Instead, take a full backup of your files and database first. Label it clearly as possibly infected, store it separately from your older clean backups, and don’t overwrite those older copies. A plugin like UpdraftPlus can create one quickly, or your host may do it for you.
Other Mistakes to Avoid
- Don’t ignore it. Hacks tend to get worse, and search engines may penalize infected sites
- Don’t install several cleaner plugins at once. They can conflict and break the site
- Don’t download “free” cleaning tools or nulled plugins. Many carry malware, as we explain in our article on nulled and “free premium” downloads
- Don’t restore a backup blindly. If the infection predates it, you’ll bring the problem back
- Don’t stop at changing your password. It helps, but it doesn’t remove files or hidden users
- Don’t keep the site fully live if customer data is at risk. Consider maintenance mode, and ask your host for help
After your backup is safe, the next step is cleanup. Our malware removal guide walks through how to remove malware and recover a hacked site. For the official basics, the WordPress documentation also offers a FAQ for hacked sites.
When to Get Professional Help
Some situations are manageable on your own. Others, however, call for an expert.
Bring in a professional when:
- Your site handles customer data, payments or memberships
- Google has flagged your site, or your host has suspended it
- You’ve found malware or unknown files and aren’t sure you removed everything
- The infection keeps coming back after cleanup
- You don’t have a recent clean backup
- You’re uncomfortable editing files or databases
- You’ve spent more than a few hours without progress
- Your business can’t afford downtime
A specialist can find the entry point, remove backdoors, clean the database and harden the site, so you aren’t hacked again next month. Additionally, professional help is often cheaper than weeks of lost traffic and sales.
Our WordPress maintenance services cover regular security scans, updates, backups and monitoring, so problems are caught early. If your site needs deeper repair or a more secure rebuild, our WordPress development team can help, and our WooCommerce development experts can secure stores where lost orders are at stake.
How to Reduce the Chance of Being Hacked Again
Once your site is clean, prevention matters most.
- Keep WordPress core, plugins and themes updated, and see our guide on automatic updates, yes or no? for how to do it safely
- Use strong, unique passwords and two-factor authentication
- Remove unused plugins and themes, and avoid pirated ones
- Limit administrator accounts
- Schedule off-site backups, and test your restores
- Follow a full WordPress security checklist for small business owners
- Watch for vulnerabilities with no fix yet, and replace abandoned plugins quickly
Quick “Is My Site Hacked?” Checklist
- Backup taken and labeled before any changes
- Administrator user list reviewed
- Recent file changes checked, including the uploads folder
site:search done in Google, with brand search checked- Google Search Console security and manual action reports reviewed
- Safe Browsing status checked
- Site tested logged out, on mobile and from Google results
- Full security scan completed
- Passwords changed after the backup
- Professional help arranged if anything looks suspicious
Frequently Asked Questions
How can I tell if my WordPress site has been hacked?
Look for unknown admin users, redirects, spam pages in Google, browser or Google warnings, unexpected file changes and sudden slowness. Then run a security scan, and review Google Search Console for alerts.
Can my site be hacked even if it looks normal?
Yes. Malware can hide from admins, show itself only to certain visitors or sit quietly in hidden files. A normal homepage is encouraging, but it isn’t proof.
Does a security plugin scan guarantee my site is clean?
No. A scan can find many known threats, but it can miss new or well-hidden malware. Use it as one tool alongside manual checks, and consider a professional review if something seems off.
What should I do first if I think my site is hacked?
Take a full backup before changing anything, and label it as possibly infected. Then contact your host, review users and files, and follow a cleanup process or hire an expert.
Why does my site redirect only sometimes?
Some malware redirects only certain visitors, such as people coming from search engines or using mobile devices. As a result, you may never see the problem from your own computer.
Will Google remove my site from search results if it’s hacked?
Google may show warnings or lower the visibility of hacked pages until the problem is fixed. After cleanup, you can request a review through Google Search Console.
How long does it take to clean a hacked WordPress site?
It depends on how deep the infection goes. A simple case may take a few hours, whereas a complex one with hidden backdoors can take longer. Thorough cleanup matters more than speed.
Final Thoughts
A hack is stressful, but catching it early makes a huge difference. Watch for the warning signs, run the quick checks above, and remember that a clean homepage doesn’t prove a clean site. Above all, back up before you change anything, and ask for help when the problem is bigger than a quick fix.
If you’d rather have a team on your side, Artisan Solutions designs, builds, secures and maintains WordPress, WooCommerce and Shopify websites for businesses worldwide. Browse our portfolio, meet the team, or request a free website security review and we’ll follow up within one business day.