To make WordPress and bbPress work together, you need to fill out all the required information on the WordPress Intergration page in your bbPress admin settings. Before we do that though, we need to make a few changes to the wp-config.php file and the bb-config.php file.
This step requires getting a new secret key from WordPress. This key is a bit different than the usual secret key but in order to get it working right, it is a must.
https://api.wordpress.org/secret-key/1.1/salt
Paste the new secret key into your wp-config.php file to replace the old one. Paste the same key into the bb-config.php file, but first add the prefix BB so that is looks something like this:

define('BB_AUTH_KEY',         ']qNaD54N+(j*DJf+i%l~3)5LF6?>})TI~4%p?-ot)-YT%_bw|Yp|We|h');
define('BB_SECURE_AUTH_KEY',  ',zjIH29W{Dov nK|lX3I;)p[~o&@@C[X`&c$IeXKmjq`<|;-[=5>qw0NcU;S_uMO');
define('BB_LOGGED_IN_KEY',    ' LRj-8E<;ivqj| )U=#T>WD,(l*FD{jW_;{qiPG,T8A/TG[9GBFe9c|pGLiq7xNy');
define('BB_NONCE_KEY',        'fD,xS4V&jWA ?le-[f|:>^nM3(06+: #$o8hD+; I[/8DcQ%_xE');
define('BB_AUTH_SALT',        'yLCIQ|^mt6BGc|cTt9K:M[-&>`X+@yKp4Ed%mK^2>p2L@^O0Z_x P]p *-.xc>*8');
define('BB_SECURE_AUTH_SALT', '[SfGO$(|XmE UY(7&6NvqxzxqHbPG2BItgRd&rZg`FdEmen-F.oiX~5k~mq0Ojo|');
define('BB_LOGGED_IN_SALT',   '1an-{O<|Q7|+qVu,5i[gmp.w*f_GLgOm6EA]#+Clv]QRq_$J7HWGi)N/+x-tAy-1');
define('BB_NONCE_SALT',       '$iQp`k&-W*}t$yeb2k|{u|?2gT-2PJQ&rP$.9Y8wJ4(J3|N:PsHzs:wk2z=^Bg;9');

NOTE: Do not, and I mean do not use the above example as your secret key.
Save both files and return to the WordPress Integration page. You should notice that a few input boxes have been locked out. Good.
You must set your User Role Map in order for bbPress to recognize WordPress roles. Mine looks like this:

Set it however you want but just be sure to set all of them. Add your WordPress URLs to set the Cookies and your User Database info to make bbPress use the WordPress users database from now on. All the info you need for setting up the database is in your wp-config.php file.
Next comes the bbPress Integration plugin for WordPress.

DISCLOSURE: all of our content here at WP Venture is reader-supported. What this means is that if you click on some of our links, we may make a commission, at no additional cost to you. We are happy to be reader-supported and continue to create the best WordPress tutorial and review content out there!

Picture of Luke Perrie

Luke Perrie

Luke has been building WordPress websites for over 15 years. He has extensive knowledge in all things WordPress, including WordPress Themes, plugins, development and design. Luke founded Bandicoot Marketing in 2009 with a mission to serve thousands of small businesses in need of help building and launching their WordPress websites. In his free time, Luke loves to fly planes and play the acoustic guitar! Additionally, Luke founded WP Venture, an organization providing loads of high-quality, free WordPress tutorials for anybody interested in building or enhancing their WordPress website.

Search

Over 700 Readers

Unbiased WordPress content from your trusted source.

Popular Posts

Newsletter

Stay up to date with the latest marketing, sales, and service tips and news.

This field is for validation purposes and should be left unchanged.
We will keep you up to date with only the content you want. No spam, ever. Unsubscribe at any time.