Largest Domain Hosting Market

Domain, Hosting and Information Technology Related Web Site

http to https redirect for html and php site

Time4VPS - VPS hosting in Europe

Just add below code under .htaccess file and save.

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

RewriteOptions inherit

Thanks
M. Hossain
hosthub.biz

Share This:

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

Domain Hosting Market © 2015