wordpress 自定义_如何在WordPress中添加自定义登录URL

wordpress 自定义

Did you know that anyone can easily find your WordPress login URL. Recently, one of our readers asked if it was possible to change the default WordPress login URL to a custom login URL. In this article, we will show you how to add custom login URL in WordPress.

您是否知道任何人都可以轻松找到您的WordPress登录URL 。 最近,我们的一位读者询问是否可以将默认的WordPress登录URL更改为自定义登录URL。 在本文中,我们将向您展示如何在WordPress中添加自定义登录URL。

Creating custom login and registration url in WordPress

First thing you need to do is install and activate the Custom Login URL plugin. Upon activation, you need to visit Settings » Permalinks to configure your WordPress login and admin URLs.

您需要做的第一件事是安装并激活“ 自定义登录URL”插件。 激活后,您需要访问设置»永久链接来配置WordPress登录名和管理URL。

Make sure that you are using SEO friendly URL structure on your site.

确保您在网站上使用SEO友好的URL结构

Below the default WordPress permalinks settings, you will notice two new sections: ‘Authentication Permalinks’ and ‘Authentication Redirects’.

在默认的WordPress永久链接设置下方,您会注意到两个新部分:“身份验证永久链接”和“身份验证重定向”。

Custom login settings

Under authentication permalinks, you need to enter the last part of each link. This last part is called the slug, for example my-login-page, lostpassword, signup, etc.

在身份验证永久链接下,您需要输入每个链接的最后一部分。 最后一部分称为子段,例如my-login-page,lostpassword,signup等。

Enter the slug for your login, registration, lost password, and log out URLs. Your slug can be anything that you like.

输入您的登录名,注册名,丢失密码和注销URL的信息。 可以是任何您喜欢的东西。

Under authentication redirects section, you need to tell the plugin where to send users upon successful login or logout.

在“身份验证重定向”部分下,您需要告诉插件在成功登录或注销后将用户发送到哪里。

By default, users are redirected to the admin area or /wp-admin/ directory upon login. When the user logs out, they’re redirected to the login page.

默认情况下,用户登录后将被重定向到管理区域/wp-admin/目录。 当用户注销时,他们将被重定向到登录页面。

您为什么要添加自定义登录URL? (Why would you want to Add a Custom Login URL?)

Although many beginners believe that adding a custom WordPress login URL will help them improve their website security, it’s not true at all.

尽管许多初学者认为添加自定义WordPress登录URL可以帮助他们提高网站安全性,但事实并非如此。

Changing the default login URL doesn’t improve your security at all. It’s just a matter of personal preference that’s all.

更改默认登录URL根本无法提高安全性。 仅仅是个人喜好问题。

We also have articles on how you can customize your WordPress login page and even create a custom WordPress login page.

我们还提供有关如何自定义WordPress登录页面甚至创建自定义WordPress登录页面的文章

If you’re concerned about WordPress security, then we recommend that you create a regular WordPress backup. After that, you can add solutions like Limit Login Attempt. For even more protection, we recommend adding a Sucuri Firewall (paid).

如果您担心WordPress的安全性,那么我们建议您创建一个常规的WordPress备份 。 之后,您可以添加诸如Limit Login Attempt之类的解决方案。 为了提供更多保护,我们建议添加Sucuri防火墙 (付费)。

We hope this article helped you learn how to change the WordPress login url. You may also want to take a look at this guide on how to password protect your WordPress admin directory using htpswd.

我们希望本文能帮助您学习如何更改WordPress登录网址。 您可能还想看看本指南, 了解如何使用htpswd密码保护WordPress admin目录

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

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

翻译自: https://www.wpbeginner.com/plugins/how-to-add-custom-login-url-in-wordpress/

wordpress 自定义

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值