Forums

Join
bbPress Support ForumsInstallationOverride URL constant in bb-config.php?

Info

Override URL constant in bb-config.php?

  1. With WordPress there is a handy way to override the url Options set in the DB like so:
    define('WP_HOME', 'http://localhost' );
    define('WP_SITEURL', 'http://localhost');

    This is really useful for local development. Anyone know the equivalent in BBPress?

  2. define('BB_URI', 'http://path.to.local');

    I had a redirect that was confusing me :S

  3. Doesn't quite seem to work though. When I log in, it bounces me over to the remote site.

  4. Maybe this is the way to set it:
    $bb->uri = 'http://path.to.local';

  5. There is no BB_URI, dragunoff has it right.

  6. OK, will try dragunoff's method.
    Thanks for the help!

  7. You must log in to post.