Skip to:
Content
Pages
Categories
Search
Top
Bottom

Override URL constant in bb-config.php?

  • @alvarix

    Member

    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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @alvarix

    Member

    define(‘BB_URI’, ‘http://path.to.local’);

    I had a redirect that was confusing me :S

    @alvarix

    Member

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

    @dragunoff

    Member

    Maybe this is the way to set it:

    $bb->uri = 'http://path.to.local';

    @sambauers

    Participant

    There is no BB_URI, dragunoff has it right.

    @alvarix

    Member

    OK, will try dragunoff’s method.

    Thanks for the help!

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