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 : abc.com, now he ask to install in sub domain with forum.abc.com or abc.com/forum/

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

thanks for any advice

Thanks
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'] = "http://abc.com"; << changed or not?

$settings['cpstyle'] = "";
$settings['cookiedomain'] = ".abc.com"; <<< 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..

Thanks