Title: TPG Redirect
Author: Criss Swaim
Published: <strong>2013 年 7 月 22 日</strong>
Last modified: 2023 年 8 月 18 日

---

搜索插件

![](https://ps.w.org/tpg-redirect/assets/banner-772x250.png?rev=744193)

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

![](https://s.w.org/plugins/geopattern-icon/tpg-redirect_dfefe0.svg)

# TPG Redirect

 作者：[Criss Swaim](https://profiles.wordpress.org/cswaim/)

[下载](https://downloads.wordpress.org/plugin/tpg-redirect.1.0.8.zip)

 * [详情](https://cn.wordpress.org/plugins/tpg-redirect/#description)
 * [评价](https://cn.wordpress.org/plugins/tpg-redirect/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tpg-redirect/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tpg-redirect/#developers)

 [支持](https://wordpress.org/support/plugin/tpg-redirect/)

## 描述

When this plugin is active and the option enabled, it checks for a logged in user.
If the visitor is not logged in, then the user is redirected to another site as 
defined in the redirect path option or will display a page with message as entered
on from the settings. If logged in, site acts as normal.

Sites with this plugin active must access the site with sitename/wp-admin and log
in.

### Usage

Install the plugin
 Go to the settings page Set the address for the redirect

The active/inactive switch allows temporary disabling of the plugin

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory and unzip it.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Set the redirect page in the settings tab.

## 常见问题

### Why do I need this?

If you have a development site and you want to keep unregistered users from accessing
it. Or if you are developing a site and want to refer visitors to another site until
this is complete.

## 评价

此插件暂无评价。

## 贡献者及开发者

「TPG Redirect」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Criss Swaim ](https://profiles.wordpress.org/cswaim/)

[帮助将「TPG Redirect」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tpg-redirect)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tpg-redirect/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/tpg-redirect/)，或通过[RSS](https://plugins.trac.wordpress.org/log/tpg-redirect/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tpg-redirect/)。

## 更新日志

= 1.0.7=
 * correct csrf vulnerability

= 1.0.6=
 * correct warning with static call of function

= 1.0.5=
 * correct class conflict error with shared classes

= 1.0.4=
 * add option to show page with message * Correct fatal error. * Verify
for WP 4.0

= 1.0.3=
 * Correct warning messages. * Verify for WP 4.0

= 1.0.2=
 * Correct error on static calls.

= 1.0.1=
 * Update doc on settings page.

= 1.0.0=
 * Initial release.

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.3.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tpg-redirect/)
 * 标签
 * [login required](https://cn.wordpress.org/plugins/tags/login-required/)[redirect](https://cn.wordpress.org/plugins/tags/redirect/)
 *  [高级视图](https://cn.wordpress.org/plugins/tpg-redirect/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/tpg-redirect/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/tpg-redirect/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/tpg-redirect/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/tpg-redirect/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/tpg-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tpg-redirect/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tpg-redirect/reviews/)

## 贡献者

 *   [ Criss Swaim ](https://profiles.wordpress.org/cswaim/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/tpg-redirect/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.tpginc.net/wordpress-plugins/donate/)