1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Move Forum to Sub-domain

Discussion in 'Installation, Upgrade, and Import Support' started by ForexTalk, Sep 4, 2014.

  1. ForexTalk

    ForexTalk Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. ForexTalk

    ForexTalk Member

    Thanks, but I still a bit confuse about redirect rule.

    I want to move from /forum/ to forum.mydomain.com. Which rule should I use?

  4. Robust

    Robust Well-Known Member

    Are you using shared hosting or a VPS/dedicated server? Either way, you'd need to assign the subdomain to the document root, and then change the domain on the software. It's not really a rewrite, unless you want to forward everything from /forum/ to forum.example.com/
  5. ForexTalk

    ForexTalk Member

    I'm on dedicated server and yes, I would like to redirect everything from /forum/ to forum.example.com because there have a lot of posts and threads already. Unfortunately, the FAQ does not cover this type of redirect. Can you please help me out?

  6. ForexTalk

    ForexTalk Member

    Can someone please give me some information on this?
  7. Mike

    Mike XenForo Developer Staff Member

    In a .htaccess file in the root:
    RedirectMatch 301 ^/forum/(.*)$ http://forum.website.com/$1
    Adjust the paths/URLs to suit.

Share This Page