How To Get New Cookie Keys For WPMU

Wordpress MU Tutorials April 30th, 2009

When installing WordPress Multi-User, secret authentication keys are created and stored in your configuration file. The generated codes are generally a string of mixed up letters and numbers.

To make your cookies more secure, WordPress has created a way to get codes that are even more mixed up than the codes generated during installation.

1. Click on the following link. http://api.wordpress.org/secret-key/1.1.

2. Copy ALL of the codes you’re given.

3. Open wp-config.php This will be in your root folder.

4. Scroll down and find the lines that look like the ones you just copied (AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY)

5. Highlight those FIRST FOUR lines. Not 7 lines. FOUR LINES. Then right click and paste. This will replace your old security codes with the ones you just copied.

6. Save the wp-config.php file.

Please note that if you have integrated your WPMU login with other components, you’ll need to change these codes in your other configuration files as well.

For instance, bbPress has a bb-config.php file that will need to be modified.

Make sure that all authentication keys match site wide.


One Response to “How To Get New Cookie Keys For WPMU”

  1. The Easy Button » Integrating BuddyPress 1.0, WPMU and bbPress Says:

    [...] 29. (Optional) Get new secret cookie keys. [...]

About The Author

As a long time blogger & user of WordPress, my goal is to keep you from banging your head on your desk as much as I've banged my own. More...

Close
Powered by ShareThis