I currently have Flarum installed at root and would like to move it to example.com/forum
Can someone let me know if the following steps will work?
- Move contents of root folder to
/forum
chmod 775 /forum
- Move files in
/forum/public
up a level to /forum
- change
index.php
to $site = require './site.php';
- change
site.php
to 'public' => __DIR__,
- uncomment lines 9-15 of
.htaccess
- change
config.php
so that the 'url' parameter is example.com/forum/
(I'm not sure if the trailing slash matters)
And from what I can tell based on the instructions for a clean install, this would work? Am I missing any steps?
One thing I am wary of: Is it bad to chmod 775 the entire /forum directory?