MyBB Cookie Settings 2024

Paylaşım Tarihi :

MyBB Cookie Settings: Follow the steps below to configure cookie settings for forums using the MyBB infrastructure.


If the site is xxx.com/forum/ :

In the forum settings inc/settings.php file, the following sections should be the same. Remove the "/" character.

$settings['cookiedomain'] = ".yoursite.com";

$settings['cookiepath'] = "/forum/";

$settings['cookieprefix'] = "";

If using a subdomain:

In the forum settings inc/settings.php file, the following sections should be the same.

$settings['cookiedomain'] = ".forum.yoursite.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

If using the root directory:

In the forum settings inc/settings.php file, the following sections should be the same.

$settings['cookiedomain'] = ".yoursite.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

Note: Don't forget to perform the same actions in MySQL as well without breaking the code.