wordpress访问限制_如何通过IP或登录用户限制WordPress网站访问

wordpress访问限制

You are about to launch a new product, and you have developed a great website for it using the world’s favorite web publishing platform, WordPress. You want to test it live on its own domain and hosting, but you are not yet ready to make it public just yet. Earlier in another article we talked about how to password protect WordPress without user registration. How about limiting access to a site for visitors who are logged in or allowed by IP addresses? In this article we will show you how to restrict WordPress site access by IP or logged in users.

您即将推出新产品,并且已经使用世界上最受欢迎的网络发布平台WordPress开发了一个不错的网站。 您想在其自己的域和托管上对其进行实时测试,但是您尚未准备好将其公开。 在另一篇文章的前面,我们讨论了如何在没有用户注册的情况下用密码保护WordPress 。 如何限制已登录或IP地址允许的访问者访问网站? 在本文中,我们将向您展示如何通过IP或登录用户限制WordPress网站访问。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First thing you need to do is install and activate Restricted Site Access plugin. After activating the plugin, go to Settings » Reading. Scroll down to the bottom and you will see options to configure restricted access.

您需要做的第一件事是安装并激活“ 受限站点访问”插件。 激活插件后,转到设置»阅读 。 向下滚动到底部,您将看到用于配置受限访问的选项。

Restricting access to a site for logged in users or specific IP address

Using Restricted Site Access plugin, you can restrict access to a WordPress site for logged in users only or for people with specific IP addresses. You can also choose to redirect users with no access to the site by sending them to the login page, redirect to another web address, show them a custom message, or even redirect them to a specific page (coming soon page) that you have created on the same site. Restrict by IP feature is very useful if you want multiple employees in the office to have access to the development project without requiring them to register as a user.

使用“受限制的站点访问”插件,您可以仅对登录用户或具有特定IP地址的用户限制对WordPress网站的访问。 您还可以选择重定向无权访问该网站的用户,方法是将其发送到登录页面,重定向到另一个网址,向他们显示自定义消息,甚至重定向到您创建的特定页面(即将推出的页面)在同一站点上。 如果您希望办公室中的多个员工可以访问开发项目而无需他们注册为用户,则IP限制功能非常有用。

This plugin can be extremely useful for beta testing your site before a product launch. It is also good for creating private blogs for friends and family only. We hope that this article helps you run your projects discretely. Do you have other ways that you have used to restrict WordPress site access? Share it with us in the comments below.

该插件对于在产品发布前对您的网站进行Beta测试非常有用。 仅对朋友和家人创建私人博客也很有用。 我们希望本文能帮助您离散地运行项目。 您是否有其他用于限制WordPress网站访问的方式? 在下面的评论中与我们分享。

翻译自: https://www.wpbeginner.com/plugins/how-to-restrict-wordpress-site-access-by-ip-or-logged-in-users/

wordpress访问限制

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值