My Website Was Hacked: What Should I Do First?
A practical first-response plan for a hacked website: protect visitors, preserve evidence, coordinate with your host and plan recovery without assuming a platform.
If visitors may be at risk, contact your hosting provider promptly and preserve the information needed for an authorized investigation. The right response depends on the platform, available access and incident scope.
Confirm the signs before changing anything
Unexpected redirects, unfamiliar pages, unauthorized users, browser warnings and host alerts deserve prompt attention. Take screenshots of warnings and record when the behavior started. A broken page or traffic drop alone does not prove an attack. Check the site from a separate device and ask the host what they observed.
Protect visitors and transactions
If visitors are being sent to unsafe pages or a checkout may be affected, ask your hosting provider about temporarily restricting public access. Pause paid campaigns that send people to an unsafe destination. Keep a safe, separate channel open for customers. Avoid deleting files in a rush: you may erase evidence or make recovery harder.
Preserve backups and access records
Keep copies of the most recent backup and, if possible, a snapshot of the current site and server logs. Note the hosting account, domain registrar, content management system, payment provider and any third-party integrations. Do not email administrator passwords or payment credentials through a public contact form.
Regain control of authorized accounts
Use your host or provider’s normal recovery process if you cannot sign in. From a trusted device, rotate relevant passwords and review account users, recovery email addresses, API keys and sessions. Tell your provider if you suspect the hosting account itself was accessed.
Investigate, restore and verify
A recovery specialist should identify the affected scope, inspect available backups, remove confirmed malicious changes, patch the underlying weakness where found and check important pages, forms and checkout. Search and browser warnings have separate review processes controlled by their providers. No responsible specialist can promise instant recovery or zero data loss.
Need help with a hacked website?
Tell me the website URL, what you observed and when it started. I can review the symptoms and agree a recovery scope before work begins. Explore hacked website repair and recovery services or request a free quote.
This guide is general information. Your hosting provider, search engine and payment processor control their own account and review decisions.