Info
- 5 posts
- 3 voices
- Started 3 years ago by salatti
- Latest reply from mdawaffe
- This topic is resolved
Cookies
-
- Posted 3 years ago #
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 -
- Posted 3 years ago #
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.
-
- Posted 3 years ago #
It works good!! :)
Thank you very much!! -
- Posted 3 years ago #
Hello, I was directed to this topic by mdawaffe [via http://bbpress.org/forums/topic/52?replies=23 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!
-
- Posted 3 years ago #
cvanp,
Have you also changed WordPress' cookies? -
You must log in to post.