Announcement

Collapse
No announcement yet.

HTTPS automatic redirect with .htaccess

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTPS automatic redirect with .htaccess

    Edited the .htaccess file with
    Code:
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    All hell broke lose. How to ensure things work fine after the rewrite?
    Thanks

  • #2
    Mine just uses this without issue:
    Code:
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    We'd probably need to know what 'all Hell breaks loose' actually means though.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.6 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Cats were sleeping with dogs, the Sun has risen in the West. Editing Login, Core and Vbulletin URLS to https fixed the problem though.

      Comment

      Related Topics

      Collapse

      Working...
      X