WordPress hacked? Get a clear recovery plan.
Lesscode helps assess compromised WordPress websites, remove malicious code, and address the issues that allowed the infection — based on your site's condition and an agreed recovery scope.
Something wrong with your website?
Each of these is a reason to investigate rather than proof of a compromise on its own. Several have ordinary explanations — a plugin conflict, a caching layer, a change somebody made and forgot. Knowing which it is takes a look at the site.
- Visitors are redirected to unfamiliar websites.
- Unexpected pages, ads, or spam appear.
- Your hosting provider has suspended or flagged the site.
- Files or administrator accounts appear that you do not recognize.
- Security warnings appear in browsers or search results.
- Suspicious files return after being deleted.
A recovery plan that looks beyond the visible symptoms
Removing what you can see is the easy half. The work that stops it coming back is finding how it got in. Depending on what the assessment shows, an engagement may include:
- Assess affected files, database content, and available logs.
- Identify and remove malicious code and unauthorized access where found.
- Investigate the likely entry point and address identified weaknesses.
- Restore or replace affected components using trusted sources when appropriate.
- Review updates, administrator access, and credential rotation requirements.
- Check key pages, forms, and business functionality after recovery.
- Explain findings, changes, and recommended next steps.
Access, hosting conditions, site complexity, and the extent of the incident all affect what can be confirmed and completed. We will tell you which parts of this apply to your site, and which questions the available evidence cannot answer, rather than treating a single clean scan as proof that nothing remains.
How recovery works
Nothing is changed on your site until the scope and the access required have been agreed with you.
- 01
Tell us what happened
Share your website address, the symptoms you are seeing, and any messages from your hosting provider.
- 02
Agree on the assessment and scope
We review the situation and explain the proposed work, the access required, and the quote before anything is changed.
- 03
Recover and address identified issues
We work through the agreed cleanup and remediation plan, keeping you informed of what is found along the way.
- 04
Verify and plan the next steps
We check the pages and functions your business depends on, then discuss ongoing maintenance or a rebuild if that is the better answer.
You may not need a new website
Staying on WordPress is often the right decision. If the site serves the business, the plugin set is one somebody can reason about, and updates and administrator access are being looked after, then the platform is not the problem and replacing it would not be the fix.
A rebuild is worth considering for a different reason: when the recurring cost of keeping the site running is the real issue, or when the website has grown more complicated than the business needs. That is a judgement about maintenance burden, not a necessary response to an incident. If it applies to you we will say so — and improving the existing WordPress site is just as often the better answer.
Considering a rebuild?
See what a planned migration covers: content, editing workflow, URLs, and the integrations your site depends on.
Explore a WordPress rebuildCommon questions about recovery
How can I tell whether my website is hacked?
Often you cannot tell from the outside, which is why the symptoms above are reasons to investigate rather than conclusions. Redirects, unfamiliar pages, hosting warnings, and administrator accounts you did not create are all worth taking seriously, but each has innocent explanations too: a misconfigured plugin, a caching layer serving stale content, or a legitimate account somebody else on your team set up. Assessing the files, the database, and whatever logs the host retains is what separates the two.
Can you help if my host has suspended the site?
Usually, yes. A suspension normally comes with a reason and sometimes a scan report, and both are useful starting points. What we can do depends on what access remains: some providers keep file and database access available during a suspension, others restrict it until specific conditions are met. Send us whatever the host has told you and we will tell you what is workable.
Can you help if malware keeps returning?
Content that reappears after deletion usually means the way in is still open, or that something reinstating it is still running: a scheduled task, a modified core or plugin file, a second account, or a credential that has not been changed. That is why the work looks for the entry point rather than stopping at the visible files. We cannot promise an outcome before seeing the site, but recurrence is the specific thing a proper assessment is trying to prevent.
Will I need to move away from WordPress?
Not necessarily, and we would not recommend it on the strength of one incident. A maintained WordPress site with a sensible plugin set and controlled administrator access is a reasonable platform for a business website. A rebuild becomes worth discussing when the maintenance burden is the recurring problem rather than this one event.
How much does recovery cost?
It depends on what we find, so we quote after the assessment rather than from a price list. The scale of the work is driven by how much of the site is affected, how complex it is, what access is available, and how much of the history can be reconstructed from logs. You will have the scope and the quote before any remediation begins.
How long does recovery take?
We will give you a realistic estimate once we have assessed the site, rather than quoting a turnaround we cannot stand behind. The honest answer up front is that it varies: access, hosting conditions, site complexity, and the extent of the incident all affect what can be confirmed and completed.
What access will you need?
Typically hosting or server access, the WordPress administrator area, and the database, but we will confirm exactly what is needed for your situation as part of agreeing the scope. Secure instructions for sharing access will be sent after your first contact with us. Never put passwords or hosting credentials in this form, or in an email.
Tell us what is happening
The more you can tell us about what you are seeing, the more useful our first reply will be. We will respond with the next steps and what we need in order to assess the site.
We use what you send here to respond to your enquiry. See our privacy policy for how we handle it.
Get a clear read on your site.
Tell us what is happening and we will come back with the next steps. Lesscode has been building and maintaining software for 13+ years.