Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cookies

  • I’m trying to get cookies integration with wordpress working, but after some failed attempts (I read the FAQs and searched on the forum) I can’t figure out how to do this. My WordPress installation is at http://www.salatti.net while bbPress is at forum.salatti.net (so bbPress is not in a subdirectory of WP, but on a third level domain). What should I do?

    Thanks,

    Daniele

Viewing 4 replies - 1 through 4 (of 4 total)
  • In addition to editing bbPress’ cookie information, you will have to edit WordPress’:

    for both bbPress and WordPress

    the domain should be .salatti.net (note the first .)

    the path should be /

    So in bbPress’ config.php:

    $bb->cookiedomain = ‘.salatti.net’;

    $bb->cookiepath = ‘/’;

    in WordPress’ wp-config.php:

    define(‘COOKIE_DOMAIN’, ‘.salatti.net’);

    define(‘COOKIEPATH’, ‘/’);

    define(‘SITECOOKIEPATH’, ‘/’);

    Let us know how it works.

    It works good!! :)

    Thank you very much!!

    Hello, I was directed to this topic by mdawaffe [via https://bbpress.org/forums/topic/52?replies=23%5D and am having a bit of difficulty implementing this.

    On my site, I’m not using a subdomain, instead I have bbPress located in a seperate folder from my WordPress installations ( localhost/wordpress and localhost/bbpress). I modified the code somewhat and it the problem hasn’t subsided.

    Here’s my modified code in bbPress’s config.php:

    // Cookies, bbPress fix

    $bb->cookiedomain = 'localhost';

    $bb->cookiepath = '/';

    Thanks!

    cvanp,

    Have you also changed WordPress’ cookies?

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