一键wordpress_如何自动更改WordPress SALT键

一键wordpress

Recently one of our readers asked if it was possible to automatically change WordPress SALT keys? WordPress security authentication or SALT keys are the encrypted code that secure your login information. One way to enhance your WordPress security is by automatically changing your SALT keys. In this article, we will show you how to automatically change WordPress SALT keys without any code.

最近,我们的一位读者问是否可以自动更改WordPress SALT键? WordPress安全认证或SALT密钥是用于保护您的登录信息的加密代码。 增强WordPress安全性的一种方法是自动更改SALT密钥。 在本文中,我们将向您展示如何自动更改WordPress SALT键而无需任何代码。

Change WordPress Salt Keys
什么是SALT安全密钥? (What are SALT Security Keys?)

Salt Keys aka security keys in WordPress are the variables that store your login credentials in an encrypted form. By default, WordPress saves your login information in cookies which given the right conditions can be compromised specially when using public computers.

WordPress中的Salt Keys aka安全密钥是将您的登录凭据以加密形式存储的变量。 默认情况下,WordPress将您的登录信息保存在cookie中,如果在使用公共计算机时会给定适当的条件,则WordPress会特别妥协。

One way to stay ahead of this risk is to change your security keys manually from your wp-config.php file that is available in the root folder of your WordPress site. The security and SALT keys will look like this:

避免这种风险的一种方法是,从WordPress网站根文件夹中的wp-config.php文件中手动更改安全密钥。 安全和SALT密钥如下所示:

Security Config Keys

We recommend changing these codes on a regular basis to improve your website security (every 3 – 6 months). You can manually generate the Salt keys from WordPress.org secret-key service.

我们建议定期更改这些代码,以提高您的网站安全性(每3到6个月一次)。 您可以从WordPress.org秘密密钥服务手动生成Salt密钥。

While changing the keys manually isn’t hard, it’s still time consuming to manually edit a core file and upload via FTP. In case, you don’t have coding knowledge, or don’t have the time, then this solution is for you.

尽管手动更改密钥并不难,但是手动编辑核心文件并通过FTP上传仍然很耗时。 如果您没有编码知识或没有时间,那么此解决方案适合您。

Let’s take a look at how easily you can set an automated process to change security and SALT keys in WordPress:

让我们来看看如何轻松地设置一个自动过程来更改WordPress中的安全性和SALT密钥:

如何更改WordPress SALT键? (How to Change WordPress SALT Keys?)

The first thing you need to do is install and activate Salt Shaker plugin. For more details, see our guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活Salt Shaker插件。 有关更多详细信息,请参见有关如何安装WordPress插件的指南

Once the plugin is activated, you need to go to Tools » Salt Shaker page in your WordPress admin to set a schedule for changing the SALT keys.

激活插件后,您需要转到WordPress管理员中的“ 工具”»“盐瓶”页面以设置更改SALT密钥的时间表。

Automated Settings for Salt Keys

You need to check the option for automatically changing the Salt keys and then select your schedule from the dropdown. You can automatically change the authentication keys daily, weekly, and monthly.

您需要选中用于自动更改Salt键的选项,然后从下拉列表中选择您的时间表。 您可以每天,每周和每月自动更改身份验证密钥。

In case you want to change the security and Salt keys manually, then you can do so by clicking on the Change Now button.

如果要手动更改安全性和Salt密钥,则可以通过单击立即更改按钮进行更改

Note: Every time your WordPress SALT keys are changed, you and other users will be automatically logged out from your WordPress site on all devices. You can easily re-login to your WordPress dashboard by going to the WordPress login page.

注意:每次更改WordPress SALT密钥时,您和其他用户将自动从所有设备上的WordPress站点注销。 您可以转到WordPress登录页面,轻松地重新登录WordPress仪表板。

We hope this article helped you automatically change the WordPress SALT keys. You may also want to see our ultimate WordPress security guide to improve your website security.

我们希望本文能帮助您自动更改WordPress SALT键。 您可能还需要查看我们的终极WordPress安全指南,以提高您的网站安全性。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-automatically-change-wordpress-salt-keys/

一键wordpress

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值