跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Private Site with Custom Login Page

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Private Site with Custom Login Page

作者:joaorosa
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin makes the users login in order to visit the website. Everytime a guest user tries to access the website it will be redirected to a login page of your choice.

The plugin is very easy to configure: Create the login page, go to “Private Intranet” tab in your admin menu, select the login page and the page you want the user to be redirected to, save the changes and you’r all set!.

The “/wp-login” page will still be available.

Features

  • Compatible with any theme
  • Translation ready
  • Make your website private – Only logged in user can access it
  • Redirect Guest users to the login page
  • Choose a custom login page (instead of wp-admin/wp-login)
  • Choose the page to which users should be redirected after the login
  • Use the shortcode [private-website-intranet-login] for more flexibility (You need to activate this option in the “Private Intranet” menu)

屏幕截图

  • Settings Page.
  • Default Login Page.

安装

  1. Go to “Plugins” –> “Add New” –> “Upload Plugin”
  2. Upload the file “private-website-intranet.zip”
  3. Activate the plugin in the “Plugins” menu.

常见问题

Installation Instructions
  1. Go to “Plugins” –> “Add New” –> “Upload Plugin”
  2. Upload the file “private-website-intranet.zip”
  3. Activate the plugin in the “Plugins” menu.
How do I configure the plugin?

You have 2 ways to configure the plugin. One with the a shortcode (that gives you more flexibility), and another one without.

Configuration without shortcode:

  1. Create a Login page;
  2. Go to the menu “Private Intranet”, choose the previously created login page and the page to which the user should be redirected to after login (you can leave it blank);
  3. Save all changes;
  4. You are all set!

Configuration with shortcode:

  1. Create a Login page and add the shortcode [private-website-intranet-login] to the content of the page;
  2. Go to the menu “Private Intranet”, choose the desired login page and page the user should be redirected to after login;
  3. In the menu “Private Intranet”, check the box “Use shortcode to place the login form?”;
  4. Save all changes;
  5. You are all set!
I’m trapped and can’t acces the login page I defined! What can I do?

Just access /wp-login and login to your website. For example: http://example.com/wp-login.

I have a feature to request or a bug to report. Where can I do it?

Please do try to contact me if you have an issue or a suggestions!
You can use the “Support” tab at the top of this page to contact me. Just create a new post and i’ll attend to you as soon as I can.

Is the plugin translation ready?

Yes, the plugin is translation ready. Right now, the plugin is available in English (US) and Portuguese (PT).

评价

此插件暂无评价。

贡献者及开发者

「Private Site with Custom Login Page」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • joaorosa

「Private Site with Custom Login Page」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Private Site with Custom Login Page」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2

  • From now on, there’s no need for a shortcode in the login page. Just select your desired login page in the “Private Intranet” menu;
  • You can still use a shortcode if you want more flexibility on your login page visual. Just check the box “Use shortcode to place the login form?” and place the shortcode [private-website-intranet-login] in the login page;

1.1.1

  • Fixed bug where the user wasn’t being redirected to the defined “Redirect After Login” page.

1.1

  • Fixed bug where, if no login page was set, the plugin would send the user into a redirect loop
  • Fixed bug where “/wp-login” wasn’t available.
  • Added functionality: When a logged in user tries to access the defined login page, it will be redirected to the defined “Redirect After Login” page

1.0

  • Plugin Launch

额外信息

  • 版本 1.1.1
  • 最后更新:9 年前
  • 活跃安装数量 10+
  • WordPress 版本 3.0 或更高版本
  • 已测试的最高版本为 4.8.28
  • 语言

    English (US) 和 Portuguese (Portugal).

    翻译成简体中文

  • 标签
    custom loginlogin pageprivate site
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • joaorosa

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.