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

Importing From VB to XF- General Redirect Questions

Discussion in 'XenForo Questions and Support' started by s2k, Jun 13, 2011.

  1. s2k

    s2k Member

    I'm almost ready to switch over my site from VB to XF and I'm extremely happy and excited about this =)

    Here's my current situation:

    1) Old VB4 installed in root
    2) XF will be installed in /forum (subfolder)

    When i'm done, I want to be able to go to www.mydomain.com to get to my XF forum, but I don't want to see www.mydomain.com/forum. Is there a way to do this? Or do I have to eventually move everything back to root after wiping out all my old VB files?

    BTW, i just wanted to mention that Paul M's importer tool is awesome!
     
  2. Wuebit

    Wuebit Well-Known Member

  3. s2k

    s2k Member

    yup i know. i would rather have it installed in root, but i am going to install it in the forum subfolder to keep things clean for now. is there really no way to do this?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    FWIW, I tried this solution:

    http://www.digitalbuz.com/2009/10/21/hide-joomla-subdirectory-in-url/

    I encountered problems relating to the CSS in the Admin CP, and the base href. Here is the .htaccess code I have if you want to play with it:

    Code:
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    
    	RewriteCond %{REQUEST_URI} !^/forum
    	RewriteRule ^(.*)$ forum/$1 [L]
    </IfModule>
    
    Here is another guide:

    http://reitterer.net/cms/webdesign/joomla-subdirectory.html

    Personally I wouldn't bother. Just put XenForo in your web root. Move it later if you want.
     

Share This Page