MyBB Community Forums

Full Version: .htaccess: How do I show myforum.com/forum as myforum.com
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my forum files in a folder, but I want them to be shown as root.

Between apache settings and MyBB settings, what do I need to do?
Move all files into the root. Then change board url and cookie settings in ./inc/settings.php. Then login to the ACP and then again change the board URL and cookie settings.
You also have to check RewriteBase in the .htaccess. If the folder is specified there, then you need to remove it from the path.
(10-27-2015, 08:59 AM)Ben C Wrote: [ -> ]Move all files into the root. Then change board url and cookie settings in ./inc/settings.php. Then login to the ACP and then again change the board URL and cookie settings.

No, I'm not moving it to root. I have 25 addon domains. Why would I want the MyBB forum files mixed in with with my addon domains?
You'll need to add a rewrite rule into the .htaccess file.