Guide · Dehradun & Uttarakhand
Your website has been hacked: what to do first
Signs include strange pages in Google results, redirects to other sites, unknown admin users, defaced pages or a warning from your host.
1. Contain
If the site is harming visitors, put up a maintenance page or ask your host to restrict access. Tell your host straight away.
2. Preserve before you delete
Take a copy of the files, database and server logs as they are now. It is the evidence that shows how the attacker got in. Move suspicious files into a quarantine folder with a note, rather than deleting them outright.
3. Find the way in
Common routes are an outdated plugin, theme or extension, a nulled (pirated) copy of paid software, a weak or reused password, and upload folders that allow scripts to run. Cleaning without closing the hole usually leads to another infection.
4. Clean
The safest method is to rebuild with fresh core files and extensions from official sources, then bring back only checked content and uploads. Look for unknown admin accounts, scheduled tasks and changed configuration files. Restoring an old backup helps only if it was taken before the break-in.
5. Change every password
Admin, database, hosting panel, FTP and email. Do this after cleaning, from a computer you trust.
6. Harden
Update everything, remove what you do not use, block script execution in upload folders, add a second login layer to the admin area and keep backups somewhere other than the same server.
7. Check Google
Open Search Console and look at the Security issues and Manual actions reports. If a warning is listed, request a review after the site is clean.
8. Tell people if needed
If customer data may have been exposed, take advice on your reporting duties and be honest with those affected.
Related services
More guides
- Choosing a web designer
- Business website checklist
- WordPress vs custom website
- Local SEO for Dehradun
- Why a website is slow
- Domain and hosting explained
- Print-ready files
- Offset or digital printing
- Readable flex boards
- SPF, DKIM and DMARC
- School websites for parents
- Moving to a new host
- Hotel and homestay enquiries
Get in touch
Need this done for you?
Tell us what you need. We reply with a written quote and timeline, usually within one working day.
Studio: 2, Nawada Rd, Haripur, Nawada, Inderpur, Dehradun, Uttarakhand 248005 · Mon – Sat, 10:00 – 19:00