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

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
Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.