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, 9 months ago.

  • Author
    Posts
  • #2827

    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}

The forum ‘Official Forum- Navsingh’ is closed to new topics and replies.