Installing BuddyPress in a symlinked environment
If you use symbolic links (symlinks) for your WordPress plugin environment, you may need to do some additional configuration to ensure that BuddyPress assets are loaded correctly.
If you find that CSS and Javascript assets are not being loaded correctly (the <link>
tags are in the page source, but the paths are incorrect), try putting the following configuration settings into your wp-config.php file:
define( 'BP_PLUGIN_DIR', '/path/to/buddypress/' );
define( 'BP_PLUGIN_URL', 'http://example.com/wp-content/plugins/buddypress/' );
Replace /path/to/buddypress/
with your system path to the buddypress plugin directory (eg /var/www/html/wp-content/plugins/buddypress/
). Replace http://example.com/wp-content/plugins/buddypress/
with the actual URL to your BuddyPress plugin directory.