Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Where do I define USER_COOKIE, PASS_COOKIE, AUTH_COOKIE, SECURE_AUTH_COOKIE, LOG


joseffb
Member

@joseffb

Not working.

The bbpress plugin didn’t give me a domain name so I added it in, but I had to leave it off of the wp-config because if I add it in then the primary domain (with a different domain name) can’t login correctly.

Primary = theitsites.com (blog ID 1)

Secondary = channeltechcenter.com (blog ID 15)

Forum = channeltechcenter.com/forum

This is how my config files look now:

bb-config.php:

define( ‘SITECOOKIEPATH’, ‘/’ );

define( ‘COOKIEPATH’, ‘/’ );

define( ‘COOKIE_DOMAIN’, ‘.channeltechcenter.com’ );

/**#@+

* 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}

*

* Change these to different unique phrases!

* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

*

* @since 2.6.0

*psuedo keys for example.

*/

define(‘AUTH_KEY’, ‘TTm1LH+ujM}EMaa*{~>?q|GCvQO&.Yi?UuXOTB}Y{eD78Ew;,v[,wMVy7AI8IW^i’);

define(‘SECURE_AUTH_KEY’, ‘fv-=YGe08*cM>$7UkQUEp##.LU@{oE/1Y!!&fB<CSd1iuO(,OL=/1aFB::8[:-4U’);

define(‘LOGGED_IN_KEY’, ‘v;F@8Oq+nF</b^|C{+:en&G/w-(d.gG(+ |;mlH%OlG+!`_|_&~EQvwV&+7#T5t=’);

define(‘NONCE_KEY’, ‘!XG!+oY_BGgjPq;g^}@`3d{g7+Wtt0bFfHn5dx?>/Gu*O)U{QxZy|S3<:YR(N@b.’);

define(‘AUTH_SALT’, ‘9|w7:dtp.e8ST$$ D!]l^lz~ue{Kln|R/o@-X|i0~o|?>s;[Sq#A4z*_gb[g#ZOZ’);

define(‘SECURE_AUTH_SALT’, ‘EPtQFM)4AL^Z`QIN&v9{g,xtZxQCUz8M<F0B|YSkvfDTp>fhTIficKU/R h9lR%A’);

define(‘LOGGED_IN_SALT’, ‘YReh`^4tc~-itnl!cNLeJ~EmF>+||Tn5nyiAv|i6{U^_CQOx=yz#>9aIiq?;-cBh’);

define(‘NONCE_SALT’, ‘n[ZOFHB1^vX[|5&3Rq;NT%c.8^.NN71.(IR+8#Lt.(De5q5 ~=*V;C.Z1F|H[Bbj’);

WP-Config.php:

define( ‘SITECOOKIEPATH’, ‘/’ );

define( ‘COOKIEPATH’, ‘/’ );

/** The Database Collate type. Don’t change this if in doubt. */

define(‘DB_COLLATE’, ”);

define(‘VHOST’, ‘yes’);

$base = ‘/’;

define(‘DOMAIN_CURRENT_SITE’, ‘theitsites.com’ );

define(‘PATH_CURRENT_SITE’, ‘/’ );

define(‘SITE_ID_CURRENT_SITE’, 1);

define(‘BLOGID_CURRENT_SITE’, ‘1’ );

/**#@+

* Authentication Unique Keys.

*

* Change these to different unique phrases!

* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}

*

* @since 2.6.0

*/

define(‘AUTH_KEY’, ‘TTm1LH+ujM}EMaa*{~>?q|GCvQO&.Yi?UuXOTB}Y{eD78Ew;,v[,wMVy7AI8IW^i’);

define(‘SECURE_AUTH_KEY’, ‘fv-=YGe08*cM>$7UkQUEp##.LU@{oE/1Y!!&fB<CSd1iuO(,OL=/1aFB::8[:-4U’);

define(‘LOGGED_IN_KEY’, ‘v;F@8Oq+nF</b^|C{+:en&G/w-(d.gG(+ |;mlH%OlG+!`_|_&~EQvwV&+7#T5t=’);

define(‘NONCE_KEY’, ‘!XG!+oY_BGgjPq;g^}@`3d{g7+Wtt0bFfHn5dx?>/Gu*O)U{QxZy|S3<:YR(N@b.’);

define(‘AUTH_SALT’, ‘9|w7:dtp.e8ST$$ D!]l^lz~ue{Kln|R/o@-X|i0~o|?>s;[Sq#A4z*_gb[g#ZOZ’);

define(‘SECURE_AUTH_SALT’, ‘EPtQFM)4AL^Z`QIN&v9{g,xtZxQCUz8M<F0B|YSkvfDTp>fhTIficKU/R h9lR%A’);

define(‘LOGGED_IN_SALT’, ‘YReh`^4tc~-itnl!cNLeJ~EmF>+||Tn5nyiAv|i6{U^_CQOx=yz#>9aIiq?;-cBh’);

define(‘NONCE_SALT’, ‘n[ZOFHB1^vX[|5&3Rq;NT%c.8^.NN71.(IR+8#Lt.(De5q5 ~=*V;C.Z1F|H[Bbj’);

Please feel free to email me

joseff at theitsites d0t c0m

Skip to toolbar