Tap the technical and computer knowledge of other experienced users. Find information on computers and technological topics.

VBulletin 5 htaccess Redirection to HTTPS

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

  • VBulletin 5 htaccess Redirection to HTTPS

    A standard redirect resulted in issues or intermittent redirects from an http:// to https:// address. Here's the correct htaccess redirect rule:

    Code:
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    And to force Christian Forums -Christforums or non www. to www. or Link

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\. [OR,NC]
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://www.christforums.org%{REQUEST_URI} [NE,R=301,L]
Working...
X
Articles - News - SiteMap