Info
- 6 posts
- 3 voices
- Started 2 years ago by alvarix
- Latest reply from alvarix
- This topic is not resolved
Override URL constant in bb-config.php?
-
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
define('BB_URI', 'http://path.to.local');
I had a redirect that was confusing me :S
-
- Posted 2 years ago #
Doesn't quite seem to work though. When I log in, it bounces me over to the remote site.
-
- Posted 2 years ago #
Maybe this is the way to set it:
$bb->uri = 'http://path.to.local'; -
- Posted 2 years ago #
There is no BB_URI, dragunoff has it right.
-
- Posted 2 years ago #
OK, will try dragunoff's method.
Thanks for the help! -
You must log in to post.