Start with what is visible
The padlock: your address must start with https:// and show a padlock in the browser. Without it, Chrome and Safari display a “not secure” warning before the visitor even sees your content. The certificate renews automatically on most modern hosting — but you still need to check it was not renewed three weeks ago without being reinstalled.
Backups: not their existence, but their restoration. Ask your provider to restore last week’s backup onto a test environment. A backup that was never restored is a backup that does not exist.
Access: the number one weak point
A password shared over WhatsApp, an admin account left with a former provider, one e-mail address used as a login everywhere: that is how most websites are lost. The principle is simple: one person, one account, one password; and access revoked when someone leaves.
Enable two-factor authentication on the e-mail account linked to your domain. It is the account that resets every other password, so it is the key to everything else.
Forms and spam
An unprotected form receives hundreds of automated messages a week, and you stop reading it — which is worse than having no form at all. Four measures are enough: an invisible honeypot field, server-side validation, rate limiting, and sending to a dedicated address rather than your personal inbox.
Do not store data you do not need. A contact form has no business asking for a date of birth or an ID number.
What no website can guarantee
Be wary of any agency advertising an “unhackable” website, an “anti-hacking certificate” or a global security score with no measurement behind it. Security is not a score out of ten: it is a set of practices, stronger when hosting, certificate and domain are under your control.
The most common risks for a Moroccan SME website are not sophisticated attacks: they are an abandoned theme left unpatched, a plugin installed two years ago, or an admin login sitting in a WhatsApp group.