Every webmaster who use MyBB forum, face login problem in their beginning stage.

This problem created based on cookie path and cookie domain.


Go to your website hosting folder.

Find Yoursitename.com/inc/settings.php

Open setting.php file using any code editer.

$settings[‘cookiedomain’] = “..yoursitename”;
$settings[‘cookiepath’] = “/”;

MyBB suggest to set Cookie domain is blank and path is “/”.
So remove “.yoursitename” in your cookie domain.
set cookie path “/”, if you setting have any any other path name.

Example: Cookie Domain: .yoursitename.com
Cookie Path: /myforum/

Final perfect cookie path and domain is,

$settings[‘cookiedomain’] = “”;
$settings[‘cookiepath’] = “/”;

You can also edit cookie path and cookie domain for your MyBB forum using
Admin CP > Configuration > Settings > General Configuration