Title: Update Unique Keys
Author: gottaloveit
Published: <strong>March 9, 2010</strong>
Last modified: June 18, 2022

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/update-unique-keys.svg)

# Update Unique Keys

 By [gottaloveit](https://profiles.wordpress.org/gottaloveit/)

[Download](https://downloads.wordpress.org/plugin/update-unique-keys.1.0.11.zip)

 * [Details](https://pcd.wordpress.org/plugins/update-unique-keys/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/update-unique-keys/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/update-unique-keys/#installation)
 * [Development](https://pcd.wordpress.org/plugins/update-unique-keys/#developers)

 [Support](https://wordpress.org/support/plugin/update-unique-keys/)

## Description

In an effort to help make WordPress installations more secure, this plugin will 
use the WordPress hosted Unique Key generator to update the wp-config.php file with
the following keys/salts:

 * AUTH_KEY
 * SECURE_AUTH_KEY
 * LOGGED_IN_KEY
 * NONCE_KEY
 * AUTH_SALT
 * SECURE_AUTH_SALT
 * LOGGED_IN_SALT
 * NONCE_SALT

If the wp-config.php file is not writable, then the plugin will show the key / salt
values on the plugin options page so the admin can then manually update the wp-config.
php file.

## Screenshots

 * [[
 * Output when wp-config.php is not writeable.
 * [[
 * Output when successful.

## Installation

Note: As is the case when installing any new plugin, it’s always a good idea to 
backup your blog data before installing.

 1. After downloading the Update Unique Keys plugin, unpack and upload the file to 
    the wp-content/plugins folder on your blog. Make sure to leave the directory structure
    of the archive intact so that all of the Update Unique Keys files are located in‘
    wp-content/plugins/updateuniquekeys/’
 2. You will need to activate the Update Unique Keys plugin in order to update your
    wp-config.php file. Go to the Plugins tab and find Update Unique Keys in the list
    and click **Activate**.
 3. After activating proceed to the plugin settings page (under Settings > Update Unique
    Keys) to update your keys and wp-config.php file.
 4. You will be automatically logged out, due to the keys changing, simply re-login
    with the same username and password.

## FAQ

### Does this plugin mess up my wp-config.php file?

No, every other line does not get touched.

### What if my wp-config.php file is not-writable?

The plugin will display the values for you to manually update the wp-config.php 
file, using FTP or whatever method is allowed by your webhost.

### What if the keys are already generated and I run this plugin?

The plugin will generate a new set of keys. The only thing it does is log you out
temporarily. By updating the keys on occassion, provides more security for WordPress.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Update Unique Keys” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ gottaloveit ](https://profiles.wordpress.org/gottaloveit/)

[Translate “Update Unique Keys” into your language.](https://translate.wordpress.org/projects/wp-plugins/update-unique-keys)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/update-unique-keys/),
check out the [SVN repository](https://plugins.svn.wordpress.org/update-unique-keys/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/update-unique-keys/)
by [RSS](https://plugins.trac.wordpress.org/log/update-unique-keys/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0.

 * Original Release.

#### 1.0.1

 * Fix file include error

#### 1.0.2

 * Correctly tagging file versions
 * Added more FAQ

#### 1.0.3

 * Correctly tagging file versions

#### 1.0.4

 * Cleaned up variables and class, make it not possible for namespace collisions
   with other plugins
 * Added security, including administrator level user check and is_admin check

#### 1.0.5

 * Added localization
 * Cleaned up admin dash panel

#### 1.0.6

 * no functional changes
 * changed links in admin options panel

#### 1.0.7

 * no functional changes
 * verified works in 3.0

#### 1.0.8

 * moved pulling keys from wordpress.org to update function
 * to prevent site timeout if wordpress.org is timing out

#### 1.0.9

 * supporting up to WordPress 3.9

#### 1.0.10

 * supporting up to WordPress 4.5.3

#### 1.0.11

 * supporting up to WordPress 6.0
 * added some logic checking based on support feedback about empty keys
 * switched to using php curl (but checks if enabled in the code)
 * and more error checking

## Meta

 *  Version **1.0.11**
 *  Last updated **4 years ago**
 *  Active installations **70+**
 *  WordPress version ** 2.6 or higher **
 *  Tested up to **6.0.11**
 *  Language
 * [English (US)](https://wordpress.org/plugins/update-unique-keys/)
 * Tag
 * [wp-config](https://pcd.wordpress.org/plugins/tags/wp-config/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/update-unique-keys/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/update-unique-keys/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/update-unique-keys/reviews/)

## Contributors

 *   [ gottaloveit ](https://profiles.wordpress.org/gottaloveit/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/update-unique-keys/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://passavanti.name/donate)