Case study
Cleaning up a hacked website and keeping it safe
A family mediation service discovered their Craft CMS site had been compromised by an SEO spam attack. The cleanup involved removing hidden malicious content, closing multiple backdoors, migrating to secure hosting, and restoring the site's search engine reputation.
- Client
- South East London Family Mediation
- Field
- Family mediation services
- Platform
- Craft CMS
- Time
- 2 days cleanup, several weeks monitoring
Before and after
| What | Before | After |
|---|---|---|
| Search console errors | Multiple warnings | Significantly reduced |
| Spam search entries | Present in Google results | Removed |
| Security monitoring | None | 24/7 malware scanning |
The problem
An SEO spam attack had compromised the site. Unlike attacks that steal data or deface pages, this type of hack is designed to be invisible. The attackers injected hidden content that only search engines could see, while real visitors saw a normal website. They created hidden pages full of spam links, planted multiple backdoors to maintain access, and used the site's Google reputation for their own rankings.
The attack had gone undetected because everything appeared normal from the client's perspective. Google, however, was indexing spam content and the site's search reputation was being damaged. The existing hosting had security weaknesses that contributed to the breach.
The solution
The cleanup required a systematic audit of every file and database entry. All malicious content was removed, legitimate files that had been modified were restored, and each backdoor was identified and closed. The CMS was updated to the latest version with current security patches. The site was then migrated to more secure hosting with 24/7 malware scanning enabled.
Once the site was clean, it was submitted to Google Search Console for revalidation. This process takes several weeks as Google recrawls the site and updates its records. The spam entries gradually disappeared from search results and the console warnings reduced over time. Ongoing monitoring remains in place to catch any future issues early.
Has your Craft CMS site been hacked?
I clean hacked Craft CMS sites, close the way in and watch for it coming back. If your site is down or hacked, I can usually start the same day.
Craft CMS rescue and fixesPrefer the phone or email?07968 311978[email protected]