Skip to:
Content
Pages
Categories
Search
Top
Bottom

Override URL constant in bb-config.php?


  • alvarix
    Member

    @alvarix

    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

    @alvarix

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

    I had a redirect that was confusing me :S


    alvarix
    Member

    @alvarix

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


    Ivaylo Draganov
    Member

    @dragunoff

    Maybe this is the way to set it:

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


    Sam Bauers
    Participant

    @sambauers

    There is no BB_URI, dragunoff has it right.


    alvarix
    Member

    @alvarix

    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