Skip to:

Integrating bbPress into WordPress – cannot use single login

  • globalkris



    I’ve read a bunch on the boards and tried to follow all the steps I could find, but nothing seems to have any effect. WordPress is installed in the root of bbPress is installed in

    The databases are currently integrated, so that much is good. But if you login at the forums, you are not logged in at the main site, and vice versa. I added these lines to bb-config.php:

    $bb->wp_table_prefix = ‘wp_';

    $bb->wp_home = ‘';

    $bb->wp_siteurl = ‘';

    $bb->usercookie = ‘wordpressuser_1726d05b40cf2f851e025f1a862c21fa';

    $bb->passcookie = ‘wordpresspass_1726d05b40cf2f851e025f1a862c21fa';

    $bb->cookiedomain = ‘';

    $bb->cookiepath = ‘/';

    When I check the cookies after logging in from the forums, the value for the MD5 hash is different than above. Also, the domain shows as, with that period before the www.

    One thing of note: there was no secret key listed in my wp-config.php file, so I generated one and inserted it, then copied that value to bb-config.php. Could that be where I went wrong?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.