MyBB Community Forums

Full Version: Moved Directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, so I recently changed my MyBB directory from the root to a sub-directory of /forums. Before I go into depth, I followed Matt's tutorial here: http://community.mybb.com/thread-126359.html as I can't login into the main index or my AdminCP. I also cleared my cookies and tried with different browsers, but no change. Anyways, I edited the .inc/settings.php.

I changed these settings (what they are after the change)
$settings['bburl'] = "http://mysite.com/forums";
$settings['cookiedomain'] = ".mysite.com/forums";
$settings['cookiepath'] = "/forums/";

As I previously said, I cleared my browser's cookies and tried multiple different browsers and no change.

I also cannot go into the AdminCP; once I login and try to go to 'Settings', it kicks me off and makes me sign in again.

I also attempted to delete the settings.php and a new one was generated, but after clearing cookies, no change again.

Any help would be great!
Well, I guess you didn't read thoroughly enough. Toungue You don't need to add "/forums" to the end of the cookie domain.


Try this.
$settings['bburl'] = "http://mysite.com/forums";
$settings['cookiedomain'] = ".mysite.com";
$settings['cookiepath'] = "/forums/";