MyBB Central

Full Version: How to Alter forum url to subdomain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all..

I have a problem with my client

1st : after installing MyBB full forum in main domain, example :, now he ask to install in sub domain with or

How i do that?
I must reInstall MyBB in or ?
Or i have options to alter url , but all file still on
I hope i got solution to alter url, so all file still on

thanks for any advice

You have to alter the cookie settings and forum url mainly.

Open up inc/settings.php and manually make the adjustments. Then once you are in admincp make them again and save it.
$settings['homeurl'] = "/"; <<< this one to $settings['homeurl'] = "/forum/";

$settings['bbname'] = " a b c ";
$settings['bburl'] = ""; << changed or not?

$settings['cpstyle'] = "";
$settings['cookiedomain'] = ""; <<< changed or not?
$settings['cookiepath'] = "/"; <<< how to change?
$settings['cookieprefix'] = "";
$settings['coppa'] = "disabled";

$settings['errorloglocation'] = "./error.log";

$settings['homename'] = "a b c ";
$settings['homeurl'] = "/";

how to edit?

Thanks for advice
Done, Got It..