Re-direct forum to "www." version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Danny M
    Member
    • May 2010
    • 58

    [Forum] Re-direct forum to "www." version

    Hey,

    Since I upgraded my vBulletin forum to 4.1.11 recently, the forum URL redirect has also seemed to change, but I don't see how as the .htaccess code has not been changed, nor the settings in the admin panel and the re-direct used to work on my previous version of vBulletin.

    My forum is -
    Code:
    http://www.lilwaynehq.com/forums/
    When you go to -
    Code:
    lilwaynehq.com/forums/
    , it used to re-direct to the "www." version of my forum, but now it doesn't and you can login to both forum URLs.

    In the AdminCP "Site Name / URL / Contact Details" settings, I have under "Forum URL"

    Code:
    http://www.lilwaynehq.com/forums
    And I have "yes" ticked next to "Always use Forum URL as Base Path".

    Is there anything I am missing, or any new code I should definitely have in my .htaccess file?

    Thanks
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    Make sure the following code is in your .htaccess file.

    Code:
    RewriteEngine on
    rewritecond %{http_host} ^lilwaynehq.com [nc]
    rewriterule ^(.*)$ http://www.lilwaynehq.com/$1 [r=301,nc]

    Comment

    • Danny M
      Member
      • May 2010
      • 58

      #3
      Originally posted by Andy
      Make sure the following code is in your .htaccess file.

      Code:
      RewriteEngine on
      rewritecond %{http_host} ^lilwaynehq.com [nc]
      rewriterule ^(.*)$ http://www.lilwaynehq.com/$1 [r=301,nc]
      I did that, then when you go to:

      Code:
      lilwaynehq.com/forums/
      It re-directed to: http://lilwaynehq.com/forums/vbseo.php

      Comment

      • Andy
        Senior Member
        • Jan 2002
        • 5886
        • 4.1.x

        #4
        I suggest contacting vbseo.

        Comment

        Related Topics

        Collapse

        Working...