The below code, when added to a .htaccess file, will automatically redirect any traffic destined for Http: to https:   RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]  ...