Re: One WordPress Vs Multiple bbPress
In your bb-config.php file put this code:
define( 'COOKIE_DOMAIN', '.your-domain-name.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );
If you’re using WordPress, make sure you put the same in the wp-config.php too.
Now, I know this isn’t supported or well-liked or even neccessary these days (was it ever), but I still put this legacy code into my bb-config
$bb->wp_siteurl = 'http://www.my-wordpress-url.com';
$bb->wp_home = 'http://www.my-wordpress-url.com';
$bb->wp_table_prefix = 'wp_';
$bb->user_bbdb_name = 'my-database-name';
$bb->user_bbdb_user = 'my-database-username';
$bb->user_bbdb_password = 'my-password';
$bb->user_bbdb_host = 'localhost';
$bb->custom_user_table = '';
$bb->custom_user_meta_table = '';
$bb->authcookie = 'wordpress_';
$bb->cookiedomain = '';
$bb->cookiepath = '/';
$bb->sitecookiepath = '';
$bb->wp_table_prefix = 'wp_';
Does it make any difference? I doubt it. But with all the integration stuff over the years, I’ve become a big fan of covering the bases.