If you have ever edited your
wp-config.php, you may be familiar with WordPress salt keys. Those are custom strings used to enhance the security of your WordPress installation. Every action that requires some user input is passing through encryptions and those encryptions include a piece of salt in it.
If you want to increase the security of your WordPress installation, it is recommended to update salts in your
wp-config.php time to time. In this post, you will learn how to update WordPress Salt keys to increase your website security.
How To Update WordPress Salt Keys
Follow the steps below to update wp salts in your wp-config file:
- Open the wp-config.php file using the Cpanel code editor or downloading the file.
- Generate new salts using WordPress API tool: https://api.wordpress.org/secret-key/1.1/salt/
- Copy and paste new salt keys. Make sure to copy all of the keys generated.
- Save and upload the file in place.
If you don’t have access to a code editor or FTP folders, you can also use a plugin like Salt Shaker to do update salt keys in your wp-config file. However, since this is an important edit, I recommend doing it manually.
I hope you enjoyed this tip about updating wp salt keys. Follow our twitter account for more tips on WordPress.