• 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

#1
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!
 
#3
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?
 

Jake Bunce

XenForo moderator
Staff member
#4
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.