Title: Salt Shaker
Author: Nagdy
Published: <strong>ඔක්තෝබර් 17, 2016</strong>
Last modified: දෙසැම්බර් 1, 2025

---

Search plugins

![](https://ps.w.org/salt-shaker/assets/banner-772x250.png?rev=2654890)

![](https://ps.w.org/salt-shaker/assets/icon-256x256.png?rev=2654890)

# Salt Shaker

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

[Download](https://downloads.wordpress.org/plugin/salt-shaker.2.1.1.zip)

 * [Details](https://si.wordpress.org/plugins/salt-shaker/#description)
 * [Reviews](https://si.wordpress.org/plugins/salt-shaker/#reviews)
 *  [Installation](https://si.wordpress.org/plugins/salt-shaker/#installation)
 * [Development](https://si.wordpress.org/plugins/salt-shaker/#developers)

 [Support](https://wordpress.org/support/plugin/salt-shaker/)

## Description

By using Salt Shaker plugin, you’ll be able to harden your WordPress security. It
allows you to change the salt keys either manually or automatically.

Try it out on a [free dummy site](https://demo.tastewp.com/salt-shaker).

**Why Use SALT Keys in WordPress?**

When you log in to WordPress, you have the option to remain logged in long-term.
To achieve this, WordPress stores your login data in cookies instead of in a PHP
session. Malicious individuals can hijack your cookies through various means, leaving
your website vulnerable.

To make it harder for attackers to use cookie data, you can take advantage of SALT
keys. WordPress SALT keys encrypt your password, making it harder to guess. What’s
more, it’s next to impossible for hackers to simply ‘unscramble’ the result in order
to get at the original password.

[Read more on WPEngine Blog](https://wpengine.com/resources/generate-wordpress-salt-keys/#Why_Use_SALT_Keys_in_WordPress)

**What people says about Salt Shaker**

[WPBeginner](https://www.wpbeginner.com/wp-tutorials/how-to-automatically-change-wordpress-salt-keys/)

[Kinsta](https://kinsta.com/knowledgebase/wordpress-salts/) [WPEngine](https://wpengine.com/resources/generate-wordpress-salt-keys/)
[Elgenat Themes](https://www.elegantthemes.com/blog/tips-tricks/what-are-wordpress-salt-keys-and-how-can-you-change-them)
[Hostinger](https://www.hostinger.com/tutorials/wordpress-salts)

Like Salt Shaker? Consider leaving a [5 star review](https://wordpress.org/support/plugin/salt-shaker/reviews/).

**Salt Shaker Features**

 * Improve your WordPress security.
 * Easy to use, set it and forget it, with minimal settings.
 * Manual and immediate WP security keys and salts changing.
 * Set automated schedule for keys and salts change.

**Developers?**

Feel free to [fork the project on GitHub](https://github.com/amElnagdy/salt-shaker)
and submit your contributions via pull request.

## Screenshots

 * [[
 * Plugin Settings.

## Installation

 1. Upload `salt-shaker` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Navigate to `Tools > Salt Shaker` menu to configure the plugin.

## FAQ

### Nothing happens?

Make sure that `wp-config.php` file has the salt keys. If for any reason the keys
aren’t there; you can always generate a set of keys from this link https://api.wordpress.
org/secret-key/1.1/salt/ and add it to your `wp-config.php` file. Once that’s done,
the plugin will be able to shake them based on your settings.

### The plugin isn’t working or have a bug?

Post detailed information about the issue in the [support forum](https://wordpress.org/support/plugin/salt-shaker)
and we will work to fix it.

### Custom wp-config.php location?

You can use this filter to define the file location `salt_shaker_salts_file`. Example:

In this example, the new location of the config file is in a folder that’s outside
WordPress location in a folder called `wpsecret`. Make sure to replace it with your
secret location 😉

    ```
    function salt_shaker_new_file($salts_file_name) {
        $salts_file_name = '../wpsecret/wp-config';
        return $salts_file_name;
    }

    add_filter('salt_shaker_salts_file', 'salt_shaker_new_file');
    ```

## Reviews

![](https://secure.gravatar.com/avatar/106caab492190336afe5c8868482b0091190d9348df73ae9ec865c7afeb59386?
s=60&d=retro&r=g)

### 󠀁[Salt Shaker](https://wordpress.org/support/topic/salt-shaker/)󠁿

 [muhammedhamed](https://profiles.wordpress.org/muhammedhamed/) මැයි 30, 2024

good and valid

![](https://secure.gravatar.com/avatar/590c1a85322729f2345aa128684db6522b37951ea328215b6f501ed8439c0a91?
s=60&d=retro&r=g)

### 󠀁[All Systems Go!](https://wordpress.org/support/topic/all-systems-go-2/)󠁿

 [Jimmy Lee](https://profiles.wordpress.org/shirtguy72/) මැයි 18, 2023 1 reply

Reviewed the changelog before installing, glad file permissions are now left alone,
confirmed, all working as expected. Great plugin, thanks! 5-Stars!

![](https://secure.gravatar.com/avatar/161a79268d7935025d1ddebad02a4e5856f6bf6ed77f09c78109e13245480c6a?
s=60&d=retro&r=g)

### 󠀁[Excellent addition to my security arsenal!](https://wordpress.org/support/topic/excellent-addition-to-my-security-arsenal/)󠁿

 [now4dw](https://profiles.wordpress.org/now4dw/) මාර්තු 9, 2023

This is a simple, elegant and yet powerful addition to any security you might already
have on your site/sites. I have been the victim of cookie hijacking. It wasn’t a
pleasant experience! This plugin ensures you and your team log out according to 
a fixed schedule resulting in a fresh cookie when you log back in. Indispensable!

![](https://secure.gravatar.com/avatar/c31e78841624015515bdb94bbb6331f1244f85d33e688d2b357da813cd5360e0?
s=60&d=retro&r=g)

### 󠀁[Best Salt & Key Plugin](https://wordpress.org/support/topic/best-salt-key-plugin/)󠁿

 [gopalb123](https://profiles.wordpress.org/gopalb123/) පෙබරවාරි 28, 2023

This plugin (Salt Shaker) is amazing, and every WP website needs it. Use this plugin
to keep your website secure.<gwmw style=”display:none;”></gwmw>

![](https://secure.gravatar.com/avatar/aa7edd10b48a395f0730336e169c18c8ce94ab134be49fcd33d6cc06d233fb84?
s=60&d=retro&r=g)

### 󠀁[this is one the best plugins](https://wordpress.org/support/topic/this-is-one-the-best-plugins/)󠁿

 [Tawfiq Makhamreh](https://profiles.wordpress.org/tawfiq1616/) ජනවාරි 12, 2023

this is great plugin, each site should have it. you will not have it with other 
plugins, keep your site safe

![](https://secure.gravatar.com/avatar/f77e8e19e87161244480277b54093200e0f0c6fb89e029d0f3f1c839c0589c6d?
s=60&d=retro&r=g)

### 󠀁[Wonderfull](https://wordpress.org/support/topic/wonderfull-119/)󠁿

 [saadezz](https://profiles.wordpress.org/saadezz/) ජූනි 28, 2022

The plugin works fine

 [ Read all 27 reviews ](https://wordpress.org/support/plugin/salt-shaker/reviews/)

## Contributors & Developers

“Salt Shaker” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ Nagdy ](https://profiles.wordpress.org/nagdy/)
 *   [ Ahmed Hussein ](https://profiles.wordpress.org/ahmedgeek/)

“Salt Shaker” has been translated into 6 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/salt-shaker/contributors)
for their contributions.

[Translate “Salt Shaker” into your language.](https://translate.wordpress.org/projects/wp-plugins/salt-shaker)

### Interested in development?

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

## Changelog

#### 2.1.1

 * Fixed an issue with 2.1.0 not working because of a missing Freemius SDK file.

#### 2.1.0

 * Added comprehensive audit trail logging for all salt rotations
 * Automatic cleanup of old logs with configurable retention periods
 * Performance improvements and better error handling
 * WordPress 6.9 compatibility

#### 2.0.1

 * Improved salt generation and replacement
 * WordPress 6.8 compatibility

Read the full changelog [here](https://saltshakerwp.com/changelog/)

## Meta

 *  Version **2.1.1**
 *  Last updated **මාස 5ක් ago**
 *  Active installations **6,000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [Arabic](https://ar.wordpress.org/plugins/salt-shaker/), [Dutch](https://nl.wordpress.org/plugins/salt-shaker/),
   [English (US)](https://wordpress.org/plugins/salt-shaker/), [Spanish (Chile)](https://cl.wordpress.org/plugins/salt-shaker/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/salt-shaker/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/salt-shaker/),
   සහ [Swedish](https://sv.wordpress.org/plugins/salt-shaker/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/salt-shaker)
 * Tags
 * [salts](https://si.wordpress.org/plugins/tags/salts/)[security](https://si.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://si.wordpress.org/plugins/salt-shaker/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  24 5-star reviews     ](https://wordpress.org/support/plugin/salt-shaker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/salt-shaker/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/salt-shaker/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/salt-shaker/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/salt-shaker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/salt-shaker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/salt-shaker/reviews/)

## Contributors

 *   [ Nagdy ](https://profiles.wordpress.org/nagdy/)
 *   [ Ahmed Hussein ](https://profiles.wordpress.org/ahmedgeek/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/salt-shaker/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://ko-fi.com/nagdy)