{"id":1832,"date":"2009-01-26T13:51:31","date_gmt":"2009-01-26T11:51:31","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/?p=1832"},"modified":"2009-01-26T13:51:31","modified_gmt":"2009-01-26T11:51:31","slug":"old-news-but-news-to-me-wordpress-security-key-definitions-in-wp-configphp","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2009\/01\/26\/old-news-but-news-to-me-wordpress-security-key-definitions-in-wp-configphp\/","title":{"rendered":"Old news, but news to me: WordPress security key definitions in wp-config.php"},"content":{"rendered":"<p>While investigating an entirely separate issue with one of my WordPress installations, I came across this:<\/p>\n<blockquote><p>&#8220;Beginning with WordPress <a href=\"http:\/\/codex.wordpress.org\/Version_2.6\">Version 2.6<\/a>, three (3) security keys, AUTH_KEY, SECURE_AUTH_KEY, and LOGGED_IN_KEY, are used to insure better encryption of information stored in the user&#8217;s cookies. Beginning with <a href=\"http:\/\/codex.wordpress.org\/Version_2.7\">Version 2.7<\/a> a fourth key, NONCE_KEY, was added to this group.<\/p>\n<p>If you don&#8217;t find the keys in your <code>wp-config.php<\/code> file, add the keys definitions with reference to <a href=\"http:\/\/codex.wordpress.org\/Editing_wp-config.php#Security_Keys\">Editing wp-config.php &#8211; Security Keys<\/a>, and upload to your server.&#8221;<\/p>\n<p><a href=\"http:\/\/codex.wordpress.org\/Upgrading_WordPress_Extended#Step_13:_Add_security_key_definitions_to_the_wp-config.php_file\"><q>Step 13: Add security key definitions to the wp-config.php file<\/q><\/a><br \/>\n<a href=\"http:\/\/codex.wordpress.org\/Upgrading_WordPress_Extended\">WP Codex<\/a><\/p><\/blockquote>\n<p>Since most of my WordPress installations are pretty ancient, and upgrading them has long since become a routine job, this was the first time I heard about this feature. So my blogs have been lacking in this security feature, until now (I set up the aforementioned keys in each of my <code>wp-config.php<\/code> files).<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:287,&quot;href&quot;:&quot;http:\\\/\\\/codex.wordpress.org\\\/Version_2.6&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20190227210724\\\/https:\\\/\\\/codex.wordpress.org\\\/Version_2.6&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/codex.wordpress.org\\\/Version_2.6&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:288,&quot;href&quot;:&quot;http:\\\/\\\/codex.wordpress.org\\\/Version_2.7&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20190418062743\\\/https:\\\/\\\/codex.wordpress.org\\\/Version_2.7&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/codex.wordpress.org\\\/Version_2.7&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:289,&quot;href&quot;:&quot;http:\\\/\\\/codex.wordpress.org\\\/Editing_wp-config.php#Security_Keys&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20240121005921\\\/https:\\\/\\\/codex.wordpress.org\\\/Editing_wp-config.php&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-10-05 16:55:56&quot;,&quot;http_code&quot;:301}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-10-05 16:55:56&quot;,&quot;http_code&quot;:301},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:290,&quot;href&quot;:&quot;http:\\\/\\\/codex.wordpress.org\\\/Upgrading_WordPress_Extended#Step_13:_Add_security_key_definitions_to_the_wp-config.php_file&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/wordpress.org\\\/support\\\/article\\\/upgrading-wordpress-extended-instructions\\\/&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:291,&quot;href&quot;:&quot;http:\\\/\\\/codex.wordpress.org\\\/Upgrading_WordPress_Extended&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/wordpress.org\\\/support\\\/article\\\/upgrading-wordpress-extended-instructions\\\/&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While investigating an entirely separate issue with one of my WordPress installations, I came across this: &#8220;Beginning with WordPress Version 2.6, three (3) security keys, AUTH_KEY, SECURE_AUTH_KEY, and LOGGED_IN_KEY, are used to insure better encryption of information stored in the user&#8217;s cookies. Beginning with Version 2.7 a fourth key, NONCE_KEY, was added to this group. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[9387,26,19],"class_list":["post-1832","post","type-post","status-publish","format-standard","hentry","tag-blog","tag-open-source","tag-security"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=1832"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1832\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=1832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=1832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=1832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}