Redirect HTTP to HTTPS in Apache

Posted by linuxize on Jan 2, 2020 11:11 AM EDT
Linuxize.com; By linuxize
Mail this story
Print this story

There are several ways to redirect to HTTPS in Apache. If you have root access to the Linux server where Apache runs, the preferred way is to set up the redirection in the domain's virtual host configuration file. Otherwise, you can set up the redirection in the domain's .htaccess file.

There are many advantages of using HTTPS over HTTP, such as:

- All the data is encrypted in both directions. As a result, sensitive information cannot be read if intercepted. - Google Chrome and all other popular browsers will mark your website as safe. - HTTPS allows you to use the HTTP/2 protocol, which significantly improves the site performance. - Google favors HTTPS websites. Your site will rank better if served via HTTPS.

Full Story

  Nav
» Read more about: Groups: Apache

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.