简体   繁体   English

WordPress的配置文件键

[英]wordpress config file key

I have downloaded the worpress from online. 我已经从网上下载了worpress。 The following code is in config.php. 以下代码位于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');

Even if i don't define any key my site runs fine. 即使我没有定义任何键,我的网站也能正常运行。 Is it compulsory to define those keys? 定义这些键是强制性的吗? If i don't define them are they affect my site? 如果我没有定义它们,它们是否会影响我的网站? Please explain. 请解释。

In the following location you can find the detailed explanation of your question. 在以下位置,您可以找到问题的详细说明。 I hope this helps. 我希望这有帮助。 Thanks 谢谢

http://codex.wordpress.org/Editing_wp-config.php#Security_Keys http://codex.wordpress.org/Editing_wp-config.php#Security_Keys

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM