redirecting forum to a sub directory help


Active member
Currently my forum is on the root but want to put in in a sub directory like it is here on xenForo.(
What steps to a do to assure everything will redirect?

What do I add to the .htaccess etc?
Am I correct to assume I simply create a sub directory called "community", drag all but a few xenforo files into that folder, re-point my database to community?

Thank you for any help :)


XenForo moderator
Staff member
All of the XF files need to be moved to the new directory (including the XF .htaccess file).
All that should be left in the root is a new .htaccess file with the rewrite stuff.

In general perms should be 0644 and 0755 for files and directories respectively