Announcement

Collapse
No announcement yet.

Htacces question

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

  • Htacces question

    Hello,
    the file .htacces on the root folder contains

    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www. [NC]
    RewriteRule (.*) https://www.somasimple.com/$1 [R=301,L]

    Is there some changes needed in the one located in my forums folder?
    this root folder was added later on the site.

    Thanks,

    Bernard

  • #2
    In order for vBulletin to work in the sub-directory, you will need to set the RewriteBase directive. The instructions are in vBulletin's provided .htaccess file at the top of the file.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Thanks for the reply but the problem remains.
      if I try to access https://somasimple.com it adds effectively the www. and I reach https://www.somasimple.com
      but If I try https://somasimple.com/forums it sends me to https://somasimple.com/forums
      Every time I add a /forums the problem remains.
      The rewritebase was set to /forums/ in the htaccess

      Thanks,
      Bernard

      Comment


      • #4
        You would need to edit the .htaccess file in the forum directory and add this redirect in. It will ignore all redirects from its parent directory.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        Related Topics

        Collapse

        Working...
        X