Largest Domain Hosting Market

Domain, Hosting and Information Technology Related Web Site

http to https redirect for html and php site

https://domainhostingmarket.com/wp-content/uploads/2016/08/offer-vps.gif

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:

0 0 vote
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Domain Hosting Market © 2015