MyBB Community Forums

Full Version: Changing domain [question]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If i change domain i need to change :
Board url
Cookie Domain

And thats all right?

1 more question,i ll need to setup new google analytic account,and to submit site again to search engines right???

Regards and thanks in advance for answers Blush
Also could anything mess up in database,making me loose users,posts or simmilar stuff? And i wont have login problems after changing board url and cookie domain???
Open inc/settings.php
and change these:
$settings['bburl'] = "http://yourdomain.com/mybb";
and
$settings['cookiedomain'] = ".yourdomain.com";
$settings['cookiepath'] = "/mybb/"; 
You won't lose any data by doing this, and you won't have login problems if you change the settings correctly.

And it'd be etter to change them in the ACP first, rather than editing them in settings.php
ok thank you guys for quick respond Smile
1 more question i will need to submit site with new domain again to search engines???
Yes you will.