Redirecting traffic between HTTP and HTTPS

Home Forums Official Forum- Navsingh Redirecting traffic between HTTP and HTTPS

This topic contains 0 replies, has 1 voice, and was last updated by  Nav Singh 2 years, 3 months ago.

  • Author
    Posts
  • #2827 Reply

    Nav Singh
    Keymaster

    Redirecting traffic between HTTP and HTTPS
    This works for me.. may help someone else thats why sharing in the forum

    RewriteEngine on
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Reply To: Redirecting traffic between HTTP and HTTPS
Your information:




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