5 security headers every Nigerian business website needs
Your website talks to browsers every time someone visits. Along with the page content, it sends invisible instructions called HTTP headers. These headers tell the browser how to handle your site securely.
Most Nigerian business websites send none of these security headers. That means the browser has to guess, and it usually guesses wrong. Here are the 5 headers you need and why each one matters.
CSP is the most important security header. It is also the one that is missing from 96% of Nigerian business websites we scanned.
Having an SSL certificate is not enough. HSTS makes sure the browser always uses it, even if someone types "http://" instead of "https://".
How to add these headers
The exact method depends on your hosting setup:
- Cloudflare Pages: Create a
_headersfile in your public folder - Nginx: Add
add_headerdirectives to your server block - Apache: Add headers in your
.htaccessfile - WordPress: Use a security plugin like "Headers Security Advanced & HSTS WP"
It takes about 30 minutes for a developer to add all 5. The difference between an F-grade site and an A-grade site is usually just these headers.
If you need help adding these headers, reach out to Pejji. Every site we build includes all 5 headers from day one.