Force HTTPS Redirect
Method 1: cPanel (Easiest)
- Login to cPanel
- Go to Domains
- Find your domain
- Toggle Force HTTPS Redirect to ON
Method 2: .htaccess (Apache)
Add this to the top of your .htaccess file in public_html:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Method 3: WordPress
- Go to Settings > General
- Change both WordPress Address and Site Address to https://
- Install "Really Simple SSL" plugin for automatic handling
After Enabling
- All HTTP requests automatically redirect to HTTPS
- This is a permanent (301) redirect — good for SEO
- Make sure SSL certificate is installed first