Largest Domain Hosting Market

Domain, Hosting and Information Technology Related Web Site

http to https redirect for html and php site

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.

Domain Hosting Market © 2015