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 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 to change file permissions in Joomla components?

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

Does your hosting support FFmpeg?

Yes, ALL the Web Hosting plans at GigaPros fully support FFmpeg. Now you can easily start a...

This page contains both secure and nonsecure items...

This below message occurs when you attempt to view a web page using https that contains images...

Which app can I install with my 1-click installer?

You can easily install a lot of scripts with our 1 click automatic installers. To see a complete...