Reply To: How to redirect HTTP traffic to HTTPS using an .htaccess file

#3206 Reply

Nav Singh

If you find RewriteEngine On in your .htaccess file dont write it again in that case just copy these 2 lines of code below: RewriteEngine On

and you will be fine

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Official Forum

This is the Official Forum of Navsingh a community that helps you find answers to all of your problems,they can be Java/programming,wordpress,android, android programming, seo related or technology related