bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Location to insert lines in wp-config matters!

(2 posts)
  • Started 3 months ago by michaelpfox
  • Latest reply from sambauers
  • This topic is not resolved
  1. I am new to bbPress. I was pulling my hair out all day trying to get integration with WordPress to work. The problem was the cookies not matching.

    I had inserted the lines bbPress gave me to set COOKIE_DOMAIN and COOKIEPATH in my wp-config.php file at the very bottom. Examining my cookies I saw that the domain was not adjusting to the value I wanted. I thought my problems were elsewhere and spent hours barking up the wrong tree.

    The solution is to insert the necessary lines higher up. When I put them just under the standard define lines (just under define('DB_COLLATE', '') ) the correct domain was then set properly in the cookie.

    I hope this helps others.

    Posted 3 months ago #
  2. There is a line in the wp-config.php file that says:

    require_once(ABSPATH.'wp-settings.php');

    .
    If you add any code after that line it won't be applied.

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.