This is extremely easy…
Find your vhosts.conf or httpd.conf file. Wherever you have your VirtualHosts located for Apache.
Before the closing tag, add the below so that it will redirect.
This redirect can do anything, but we are using it for http to https so the visitors of the domain are forced to use an SSL connection.
Redirect permanent / <
(
Read more... )