Where to install?


Well-known member
Do you recommend installing xenforo in the root public_html directory or in a /forum subdirectory? If I choose /forum, is there a way to have a main page at the root?


XenForo moderator
Staff member
Should I install XenForo in the web root or a directory?
This is personal preference and depends how you intend to structure your site. If you plan to install additional software in the root such as a CMS or have a home page, then it may make more sense to install the software in a directory.
Note that you can not have two files with the same name in the same directory, for example index.php.


Installing it in a directory will allow you to have whatever you want in the root, including a custom index.php or index.html file.