How do I auto-redirect HTTP to HTTPS (SSL)?

To auto redirect from http to https (SSL) in Apache, add the following code to the top level .htaccess file...

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Was this answer helpful?

Also Read
How do I auto-redirect my domain to www?

To redirect your domain from http://mydomain.com to http://www.mydomain.com, add the following...

Minimum interval for cron jobs?

You must choose an interval of MORE THAN 5 minutes to run any of your cron jobs. We DO NOT allow...

How to change file permissions in Joomla components?

The ProblemThis is a known issue with Joomla. When you install any Joomla components thru...

How to turn OFF magic_quotes_gpc ?

magic_quotes_gpc is a PHP flag that you can turn on/off easily. By default, it's always turned on...

How often do you back up my site ?

Your entire website content (including all e-mails, MySQL databases etc) are automatically backed...