Skip to main content

What to Do First If a WordPress Website Is Hacked

November 22, 2026 5 min read
A tidy technology workspace with a server rack and organized network cables.

If you are wondering what to do first if a WordPress website is hacked, start by slowing down and preserving information. A strange redirect, browser warning, or unexpected change can signal a compromise, but it does not prove one. Acting too quickly by deleting files or restoring a backup may remove details that help identify what happened or leave the original weakness in place.

Use a deliberate sequence: record what you see, contact the people who can help investigate, preserve available evidence, and choose containment based on the site’s role and the potential impact on your business.

First, distinguish warning signs from confirmation

Possible signs of a compromised WordPress site include unfamiliar administrator accounts, content or links you did not add, unexpected redirects, malware or blacklisting warnings, and alerts from your hosting provider. WordPress.org describes these and other indicators in its guidance for hacked websites.

These signs are reasons to investigate, not proof that someone accessed sensitive information. A site that is unavailable or behaving unusually can also have a hosting, DNS, software, or configuration problem. Note exactly what you observed and avoid telling customers or staff that data was exposed until the facts support that conclusion.

A secure storage device and unplugged network cable on a clean desk beside a blank notebook.

What to do first: a careful response sequence

Record what you observed

Before changing the site, write down the symptoms, when they began, the pages or functions affected, and any warning messages. Save screenshots of visible changes or alerts, including the page address where you saw them. Note recent administrative activity or website changes that you know about, such as a new user, plugin, or hosting change. Keep this record in a secure place and distinguish what you directly observed from what you suspect.

If the site is still accessible, avoid using it to test suspicious links or submitting real customer information. Do not share passwords or sensitive information in screenshots or messages. A short, factual record gives your host or technical responder a clearer starting point.

Contact your host and the right internal responders

Tell your hosting provider that you suspect a compromise and ask them to check the affected hosting account and any relevant server, security, and access logs. Ask how to preserve those records before they rotate or are overwritten, and whether other sites or accounts on the same hosting environment could be affected. The provider may be able to identify activity that is not visible from the WordPress dashboard.

Also notify the person responsible for your website or IT environment, along with the business leader who coordinates incident decisions. If an outside IT provider manages your systems, involve them early. Share the observations you recorded, but use a trusted channel and do not send passwords in plain text. For broader response planning, the CISA incident response playbooks provide a reference for coordinated incident handling.

Preserve logs and a snapshot before cleanup

Ask your host or technical responder to preserve available web server, WordPress, firewall, content delivery, and account activity logs. Save the relevant alerts and the site’s current state if it can be done safely. Record who collected the material and when. Keep original copies protected, and do not edit or delete them while the incident is being investigated.

Do not start by removing unfamiliar files, reinstalling WordPress, updating plugins, or restoring an old backup. Those steps can erase useful evidence or make it harder to determine how the site was affected. A technical responder can help decide what to capture and whether a particular change needs to happen sooner to limit ongoing harm.

Choose containment with the host or a technical responder

Whether to take the site offline depends on what it is doing and what services it supports. If visitors are being redirected, exposed to harmful content, or asked to submit information through a suspicious form, limiting public access may be appropriate. Options can include a temporary maintenance page, restricting access to the administrative area, disabling an affected feature, or isolating the site at the hosting level.

Coordinate disruptive steps with your host or technical responder when possible. Taking a site offline can interrupt customer, patient, student, or public services, while leaving a harmful site available can create additional risk. If you need to act immediately, record what you changed and when, then tell the people investigating.

Do not restore a backup before understanding the incident

A backup can help with recovery, but restoring one immediately is not a complete response. It may contain the same unauthorized files or settings, and it does not automatically close the entry point that allowed the incident. Ask your technical responder to assess whether a backup is clean, determine what may need to be rebuilt, and address the underlying weakness before putting the restored site back into service.

Recovery may also require securing accounts associated with the website, such as WordPress administrators, hosting, domain registration, database, and file-transfer access. Change credentials from a trusted device and follow the order recommended by the people investigating. Review who has access and remove accounts that are confirmed to be unauthorized.

If the recovery work involves a Linux server, agree on who is responsible for checking and applying relevant security updates. Zevonix has a guide on who should patch a business Linux server that can help clarify that responsibility.

If personal information may be involved

A website compromise does not by itself establish that personal information was accessed or that a reportable breach occurred. If the site stores, collects, or connects to personal information, involve your security, leadership, privacy, and legal contacts early. Healthcare organizations should also follow their established incident procedures and seek qualified advice about their specific obligations. Keep the investigation factual and avoid making assumptions about what information may have been viewed or taken.

Florida law generally requires notice to the Florida Department of Legal Affairs within 30 days after determining, or having reason to believe, that a qualifying breach affected 500 or more Florida residents; the statute provides for a possible 15-day extension for good cause, as stated in Florida Statutes, section 501.171. Whether a particular incident qualifies depends on the facts and applicable requirements, so involve appropriate privacy or legal professionals rather than assuming every website hack triggers notification.

Frequently asked questions

Should I take my hacked WordPress website offline?

Not automatically. If the site is actively harming visitors or exposing information, limiting access may be necessary. Coordinate with your host or technical responder when possible, especially if the site supports essential business services.

Should I restore a backup right away?

No. First preserve relevant information and have a technical responder assess whether the backup is clean and whether the original weakness has been addressed.

What information should I save before cleaning the site?

Record what you observed and when, save visible alerts or changes, and ask your host to preserve available logs and account activity. Avoid deleting or editing potential evidence.

Take the next step

A measured WordPress incident response helps protect visitors and keeps useful evidence available while the cause is investigated. Zevonix provides website management and security, managed IT services, and proactive support for Daytona businesses. If your business site appears compromised, contact Zevonix at (386) 260-0777 to discuss support and next steps. You can also learn more about proactive managed services.

Ready to Strengthen Your IT?

Let Zevonix handle your technology so you can focus on what matters most — your business.

Schedule a Free IT Assessment