How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel, Hostripples Web Hosting

How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

Table of Contents

Redirect HTTP to HTTPS using htaccess in Vesta Control Panel, How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel, Hostripples Web Hosting

 

Redirect HTTP to HTTPS using htaccess in Vesta Control Panel

You can automatically redirect visitors to the secured (HTTPS) version of your site to make sure your communications are encrypted by using following .htaccess file

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]


How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel, Hostripples Web Hosting
HR-ADMIN