All ToolsClient-Side Utility

WordPress Security Keys & Salts

Generate WordPress security keys and salts for wp-config.php

Configuration

About WordPress Keys & Salts

  • • AUTH_KEY & AUTH_SALT: WordPress user authentication
  • • SECURE_AUTH_KEY & SECURE_AUTH_SALT: HTTPS authentication
  • • LOGGED_IN_KEY & LOGGED_IN_SALT: Logged-in user verification
  • • NONCE_KEY & NONCE_SALT: Form security tokens
  • • Each key/salt must be unique and cryptographically strong
  • • Generated as random alphanumeric strings
  • • Store securely in wp-config.php (never in version control)

Setup Instructions

Add to wp-config.php:

define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );