Website security: HTTPS, updates and backups that actually protect you
Most website hacks exploit outdated software and weak passwords. Learn how to secure your site in a few steps and be ready if something goes wrong.
Many businesses assume their website is “too small” to be worth attacking. In reality most attacks are automated: bots scan the internet for known vulnerabilities in popular software, regardless of company size. A compromised site can send spam, redirect visitors to dubious pages or be flagged as dangerous by Google. Fortunately, simple habits prevent most problems.
1. HTTPS and SSL certificates
HTTPS encrypts the connection between browser and server, protecting data entered in forms. Browsers mark HTTP-only sites as not secure, and Google treats HTTPS as one of its page-quality signals.
- Free certificates (such as Let’s Encrypt) are standard with good hosting – make sure they renew automatically.
- Redirect all HTTP URLs to HTTPS (301) and update internal links.
- Remove mixed content – images or scripts loaded over HTTP.
- Consider an HSTS header to enforce encrypted connections.
2. Updates
An outdated CMS, plugins and themes are the most common entry point for attackers. Once a vulnerability is published, bots start exploiting it within days.
- Update your CMS, plugins and themes regularly – security patches as soon as possible.
- Remove unused plugins and themes – every extra piece of code is a potential hole.
- Keep the server’s PHP version current – older versions stop receiving fixes.
- Test major updates in a staging environment first.
3. Access and passwords
- Unique, long passwords and a password manager for the team.
- Two-factor authentication (2FA) for your CMS, hosting panel, domain registrar and email.
- Least privilege – an editor does not need an administrator account.
- Remove accounts belonging to former staff and contractors.
- Limit login attempts and change default admin URLs where possible.
4. Backups: the 3-2-1 rule
A backup is like insurance – you only appreciate it when you need it. The proven 3-2-1 rule:
- 3 copies of your data,
- on 2 different media or services,
- 1 copy off the main server, in another location.
Backups should cover files and the database, run automatically (for example daily) and be kept for several weeks. Most importantly: test restoring them regularly. A backup you cannot restore is not a backup.
5. Protection and monitoring
- A web application firewall (WAF) at hosting or CDN level.
- Uptime monitoring that alerts you when the site goes down.
- Malware scanning of site files.
- The Security issues report in Google Search Console (see GSC and GA4).
- Security headers such as
X-Content-Type-Options,Referrer-PolicyandContent-Security-Policy.
6. Forms and personal data
Contact forms attract spam and attacks. Use CSRF protection, honeypot fields and rate limiting. Collect only the data you need and describe how you process it in your privacy policy – a GDPR requirement in the EU.
What to do after a hack
- Change every password and block unknown accounts.
- Restore a clean backup from before the infection – or have specialists clean the site.
- Update everything that was outdated and find the vulnerability that was exploited.
- Check Search Console; once fixed, request a review if Google flagged the site.
- If personal data leaked, assess your obligation to notify the data protection authority (within 72 hours under GDPR) and the people affected.
Security is a process, not a one-off task. Our support plans cover updates, backups and monitoring. See also how to choose secure hosting.
Frequently asked questions
Can a small business website get hacked?
Yes. Most attacks are automated and target known vulnerabilities in popular software, regardless of company size.
How often should I back up my website?
For regularly updated sites, daily and automatically. Keep backups for at least several weeks and store them away from the main server.
Do SSL certificates cost money?
Not necessarily. Free certificates such as Let’s Encrypt provide the same encryption and are available with most hosting providers.