PHP FIX IssuesCategory: ServerForcing HTTPS using the .htaccess file
themepower asked 46 years ago

Can you please help me forcing https from http i am trying since an hour but not able to solve hope you can help me out . Let me know if there is anycharge as well i am ready to pay small price 😀

Question Tags:
1 Answers
phpfix answered 4 years ago

Try this,
To force use HTTPS insert the following lines of code in the .htaccess file in your website’s root folder. 

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$$1 [R,L]

Be sure to replace with your actual domain name.

Author - comments - 0

Copyright © 2019 - Designed by HTML Design