All case studies
Case Study
CPC Clinics

How We Helped CPC Clinics Recover Its Hacked WordPress Website: Complete Case Study by AurixLab

We restored CPC Clinics' control of its hacked WordPress website. The team removed more than 10,000 spam posts and asked Google to review the site. An October 2026 review then added 2-factor login, forced HTTPS and fewer plugins.

Psychology clinic · WordPress · Incident recovery
The CPC Clinics website at cpcclinics.ca
CPC Clinics logo
Project overview
Project detailSummary
ClientCPC Clinics (Canadian Psychological and Counselling Clinics), Calgary, Alberta
IndustryPsychology and counselling clinic
PlatformWordPress website
ScopeIncident recovery, malicious code cleanup, Google Search recovery and security maintenance
Main toolsHosting and database tools, Wordfence, Google Search Console
TimelineIncident response first; follow-up maintenance review in October 2026

AurixLab's web development and SEO teams worked on this project together. The web development and cybersecurity team recovered and hardened the site. The SEO team documented the work in this case study.

Results

  • Administrator control restored; at least 1 unauthorized administrator account deleted
  • More than 10,000 spam posts removed
  • 4 hiding places cleaned: accounts, site files, database settings and code snippets
  • Google security review and recrawl requested in Search Console
  • 11 unused or flagged plugins deleted
  • 2-factor login turned on for administrators
  • 0 malware detections in website files over 30 days, per the hosting scanner

About CPC Clinics

CPC Clinics, or Canadian Psychological and Counselling Clinics, is a Calgary psychology practice. Its team includes a Registered Psychologist, Registered Provisional Psychologists and a Registered Clinical Social Worker. The clinic offers mental health counselling in Calgary, psychological assessments, rTMS treatment and workshops.

Clients can book in person or online across Alberta. The clinic's website, cpcclinics.ca, and its Google results can be a client's first contact.

The Problem: An Attacker Took Over the Clinic Website

An attacker changed the WordPress admin password and locked CPC Clinics out of its site. The attacker then used the site to publish spam. The incident records describe more than 10,000 unwanted blog posts.

The damage reached Google as well. Search results showed Japanese-language spam linked to the clinic. Google's web.dev guide calls this pattern the Japanese keyword hack.

The attack hurt the clinic in 3 ways:

  • Lost control: staff could not log in to update or protect the website.
  • Search trust: spam results appeared under the clinic's name, often before anyone reached the site.
  • Visitor risk: injected redirect settings could send visitors away from the clinic's real pages.

Where the Attack Was Hiding

The attack hid in 4 places, so deleting spam posts alone would not stop it. A backdoor can survive a password change. A malicious database setting can keep redirecting visitors even after a file repair.

Hiding placeWhat the team found
Administrator accountsAn administrator account that nobody at the clinic had authorized
Site filesA changed WordPress entry-point file, an unauthorized PHP file and malicious code in the theme
Database settingsInjected WordPress option records tied to spam redirects
Code snippetsMalicious code inside the site's managed code snippets

How We Recovered the Website

We recovered the site in 5 steps, starting with control and ending with prevention.

  1. Reclaim ownership. The team regained backend control through the clinic's authorized hosting account and database tools.
  2. Remove unauthorized identities. The team reset administrator passwords and deleted the unauthorized administrator account.
  3. Investigate persistence. The team searched entry points, theme code, database settings and snippets for malicious changes.
  4. Repair public-facing damage. The team removed the spam posts, repaired the compromised code and started Google Search recovery.
  5. Add preventive controls. The team tightened login protection, reviewed installed software and set up maintenance practices.

The cleanup kept the clinic's legitimate code intact. The team kept the site's analytics and schema code in place. The compromised snippets also held a legitimate comment-disabling feature, so the team rebuilt it cleanly.

Cleaning Up Google Search Results

The website and its Google results need 2 separate cleanups. Google can keep showing old spam results after a site is clean. The team asked Google for a security review and a fresh crawl through Search Console.

Per Google's Security issues report page, a review can take days to weeks. The records confirm the requests went to Google. They do not record the date every spam result left Google's index.

Search recovery after a hack is part of our SEO services in Calgary. A clean site can still lose clients while spam results stay in Google.

Further Protection: The October 2026 Maintenance Review

An October 2026 maintenance review removed unused software, tightened logins and confirmed backups. Every plugin can carry a flaw, so fewer plugins means fewer ways in.

AreaWhat changed
Plugins10 inactive plugins and 1 obsolete flagged extension deleted
Administrator loginAdministrator accounts reviewed; authenticator-app 2-factor login turned on
Password-guessing defenseWordfence login settings tightened and XML-RPC access restricted during the incident response
FirewallWordfence firewall rules refreshed by hand after an update issue
HTTPSEvery visit now redirects to the secure HTTPS version of the site
Server softwarePHP environment reviewed
BackupsHosting backups confirmed for files and database; latest backup observed October 23, 2026

XML-RPC is an older WordPress remote-access feature. Attackers often use it to test many passwords at once. The team also made a separate full local backup during the incident response.

What the Checks Confirmed

The host's scanner reported no file malware in the 30 days before the October review. Other checks confirmed the backups, the 2-factor login and the firewall refresh. Each check proves one specific thing, and the table shows its limit.

CheckWhat it confirmedWhat it does not prove
Hosting malware scanNo malware in website files over 30 daysThat the database is clean, or that no flaw exists
Backup dashboardFile and database backups existThat a restore works; the records show no restore test
Login settingsAuthenticator-based 2-factor login is onThat every administrator has enrolled
Wordfence firewallRules refreshed successfullyProtection against every future attack
Search ConsoleReview and recrawl requests went to GoogleThe date every spam result left Google

What we do not claim: this was incident recovery and maintenance work. It was not a penetration test or a security certification. No website is immune to future attacks, so the protection continues as ongoing maintenance.

Ongoing Protection

Security on the CPC Clinics site is now a maintained routine, not a one-time fix. Ongoing maintenance repeats the checks from the October review:

  • Wordfence scans, with each new finding reviewed and fixed
  • WordPress and plugin updates
  • Administrator account reviews
  • Backup checks, with a test restore as the next step
  • Search Console monitoring for new security issues

Four Lessons for Clinics on WordPress

Four lessons from this recovery apply to any clinic or small business that runs WordPress.

  1. Take back control first. Recover the hosting and administrator access before deleting any spam.
  2. Search every hiding place. Check accounts, files, database settings and code snippets, because a backdoor survives a password change.
  3. Treat Google cleanup as its own job. Request a security review and a recrawl in Search Console once the site is clean.
  4. Shrink the target. Delete unused plugins, turn on 2-factor login and check backups on a schedule.

We can recover a hacked WordPress site and set up ongoing security maintenance. This work is part of AurixLab's web design and development services in Calgary. Book a free 30-minute growth mapping call to start.

Frequently Asked Questions

What Is the Japanese Keyword Hack?

The Japanese keyword hack fills a hacked website with autogenerated Japanese spam pages. Google's web.dev guide says these pages often link to stores selling counterfeit goods. The pages often sit in randomly named folders. The spam can then appear in Google results under the real business's name.

How Did We Regain Access After the Lockout?

The attacker changed the main WordPress administrator password, so the normal login stopped working. We regained control through the clinic's authorized hosting account and database tools. The team then reset the passwords. It also deleted an administrator account nobody at the clinic had authorized.

Why Is Deleting Spam Posts Not Enough?

Spam posts are the visible result of an attack, not its source. Attackers often leave footholds in files, settings and code snippets. A backdoor can survive a password change. A malicious database setting can keep redirecting visitors after a file repair.

Does a Clean Malware Scan Mean a Website Is Safe?

No. A clean scan covers only what that scanner checks, over a set period. At CPC Clinics, the hosting scanner checked website files for 30 days, not database content. We pair scans with account reviews, firewall rules, backups and regular updates.

How Long Does Google Take to Remove Hacked Results?

Google's Security issues report page says a hacked-site review can take days to weeks. Old spam results may stay visible during that time. Request the review only after the site is fully clean. Then keep watching Search Console for new security issues.

Have a project
idea in mind? Let's get started

  • Expect a response from us within 24 hours
  • We're happy to sign an NDA upon request.
  • Get access to a team of dedicated product specialists.
Shardar Quraishi - Founder & CEO

Shardar Quraishi

Founder | CEO
Web Design & Development
Growth Marketing
Content & Film Production
AI & Automation
Full-Service Retainer
< $5,000
$5,000 - $15,000
$15,000 - $30,000
$30,000 - $50,000
$50,000+
Send inquiry
Thank you! Your inquiry has been received. We'll respond within 24 hours.