Redirect HTTP to HTTPS
After SSL is installed, redirect all traffic to the secure version.
Method 1: cPanel (Easiest)
- Log in to cPanel
- Go to Domains
- Find your domain in the list
- Toggle Force HTTPS Redirect ON
Method 2: .htaccess
- Go to cPanel → File Manager
- Navigate to
public_html
- Show hidden files (Settings → Show Hidden Files)
- Edit
.htaccess
- Add at the top:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Method 3: WordPress
- Go to Settings → General
- Change WordPress Address (URL) to https://
- Change Site Address (URL) to https://
- Save Changes
Fix Mixed Content
If you see "Not Secure" despite HTTPS:
- Install Really Simple SSL plugin (WordPress)
- Update internal links to use https://
- Check for http:// in theme/plugin settings
Test: Visit http://yourdomain.com - it should redirect to https://