July 25, 2013

How to update set of secrete keys in WordPress?

Question: Hi, I am new to wordpress blog management. One of my friend told me that once development phase will be over so must update set of wordpress secrete keys. Can you please help me out that how can i do it?

Answer: Thank you that you installed and start using WP Mechanic. Please open your wp-config.php file. You will find this file on root (www/ or public_html/) via FTP or Cpanel File Manager. Then open this URL: https://api.wordpress.org/secret-key/1.1/salt/. From here you will get a new set of Auth/Secrete Keys. You can easily find the place which need to be updated in wp-config.php around line no. 45. Just replace the old keys with the new ones. Your friend is really smart, he told you a good security tip. Take care.

Last updated: March 19, 2014