For any modern Nigerian business, SSL is more than a technical checkbox—it’s your website’s first line of defense and a visible sign of credibility. Google now warns visitors about “Not Secure” sites, and customers are quick to click away if they don’t see the padlock icon. Enforcing SSL means every visitor lands on the secure, encrypted version of your site protecting data, boosting SEO, and winning customer confidence.
With Hostlag, enforcing SSL is easy, even if you’re not a tech expert. Here’s how to do it in minutes:
Step-by-Step: How to Enforce SSL on Your Website
Login to your cPanel
Navigate to yourdomain.com/cpanel and enter your credentials.
Open File Manager
Find “File Manager” in your cPanel dashboard and click it.
Go to public_html
On the left panel, click on “public_html”—this is your website’s root folder.
Show Hidden Files
At the top right, click “Settings.” In the pop-up, check the “Show Hidden Files” box and save.
Edit .htaccess File
Look for the .htaccess file in public_html. If you don’t see it, showing hidden files is crucial. Double-click .htaccess to edit.
Insert SSL Redirect Code
Paste the following code anywhere in the file:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Save Changes
Save and close the editor. Now, every visitor will automatically be redirected to the secure “https://” version of your site.
Pro Tips:
Always back up your .htaccess before editing.
If you see any errors afterward, Hostlag’s 24/7 support can restore or fix your site instantly.
Test your site in a browser look for the padlock and “https://” in the address bar.
SSL doesn’t just secure your website—it secures your reputation. With Hostlag, it takes just a few clicks to make your business safer and more trustworthy for every Nigerian customer.