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

XF 1.4 server install directory

What is the best place to install XF on the server? Should I install it in the root on the server or should I create a directory called something like 'community'. If I install XF in directory called 'community' then how do I re-direct site visitors from www.mydomain.com to the XF home page? Thank you.


XenForo moderator
Staff member
Which software do you have in the root?
You can always install XenForo in a directory, do the import, then archive what is in the root and move XenForo to the root.
Ok, I'm finally migrated to XF. Phew. I have DragonflyCMS in the root directory. I'd like to keep it around for a while until I get few items resolved... In the meantime how do I route my traffic from mydomain.com to mydomain.com/forums ?


XenForo developer
Staff member
You can create a .htaccess in the root with content like:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /forums/ [R=301]