Inserting path/to/wp-blog-header.php
-
i Read somewhere
“In order to do it, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).”
Where do I exactly insert this code in wp-config.php file?: require_once(‘path/to/wp-blog-header.php’); ??
This is what i see in my wp-config.php file. Thanks
<?php
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for bbPress */
define( ‘BBDB_NAME’, ‘metroadv’ );
/** MySQL database username */
define( ‘BBDB_USER’, ‘metroadv’ );
/** MySQL database password */
define( ‘BBDB_PASSWORD’, ‘xxxxxx’ );
/** MySQL hostname */
define( ‘BBDB_HOST’, ‘localhost’ );
/** Database Charset to use in creating database tables. */
define( ‘BBDB_CHARSET’, ‘utf8’ );
/** The Database Collate type. Don’t change this if in doubt. */
define( ‘BBDB_COLLATE’, ” );
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
define( ‘BB_AUTH_KEY’, ‘put your unique phrase here’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘put your unique phrase here’ );
define( ‘BB_LOGGED_IN_KEY’, ‘put your unique phrase here’ );
define( ‘BB_NONCE_KEY’, ‘put your unique phrase here’ );
/**#@-*/
/**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
- You must be logged in to reply to this topic.