Title: LH Response Handler
Author: shawfactor
Published: <strong>2019 年 6 月 13 日</strong>
Last modified: 2022 年 8 月 1 日

---

搜索插件

![](https://ps.w.org/lh-response-handler/assets/banner-772x250.jpg?rev=2105200)

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

![](https://ps.w.org/lh-response-handler/assets/icon-256x256.png?rev=2105200)

# LH Response Handler

 作者：[shawfactor](https://profiles.wordpress.org/shawfactor/)

[下载](https://downloads.wordpress.org/plugin/lh-response-handler.zip)

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

 [支持](https://wordpress.org/support/plugin/lh-response-handler/)

## 描述

LH Responses Handler is a flexible wordpress waqy of handling urls in your single
site or multiste that are currently handled by a 404. You can choose to redirect
these responses or indeed handle them with a range of status codes (with more to
be added later).

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-response-handler/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-response-handler/).**

## 安装

 1. Upload the `lh-response-handler` folder to the `/wp-content/plugins/` directory
 2. Activate or network activate the plugin through the ‘Plugins’ menu in WordPress
 3. If the plugin is activated normally a menu item Respones will appear on your tools
    menu of your site, if it is network activated this menu item will only appear on
    the main site.

## 常见问题

### Why is this plugin better than the alternatives?

Unlike the alterantives this plugin does not add any tables to your database. It
also handles multiple tatus codes (not all plugins have this feature) and can work
at the network level if you are using multisite.

### Does the plugin require a multisite installation?

No it works on both a single install and multisite

### Does this plugin behave differently when networked activated?

Yes when network activated the you can only set redirects on the main site of the
multisite, those redirects you set however are applied to all sites within the multisite.

### What is something does not work?

LH Response Handler, and all [https://lhero.org](https://cn.wordpress.org/plugins/lh-response-handler/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: [https://wordpress.org/support/plugin/lh-response-handler/](https://wordpress.org/support/plugin/lh-response-handler/).
I look there regularly and resolve most queries.

### Are there any other requirements?

This plugin relies on the [https://developer.wordpress.org/reference/hooks/wp_body_open/](https://cn.wordpress.org/plugins/lh-response-handler/wp_body_open?output_format=md)
hook. 98% of themes include it and it is now a standard. If yours does not, create
a child theme, or get a better theme.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[帮助将「LH Response Handler」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lh-response-handler)

### 对开发感兴趣吗?

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

## 更新日志

**1.00 May 04, 2019**
 * Initial release

**1.00 October 10, 2020**
 * Added 410 gone support

## 额外信息

 *  版本 **1.00**
 *  最后更新：**4 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  语言
 * [English (US)](https://wordpress.org/plugins/lh-response-handler/)
 * 标签
 * [404](https://cn.wordpress.org/plugins/tags/404/)[410](https://cn.wordpress.org/plugins/tags/410/)
   [multisite](https://cn.wordpress.org/plugins/tags/multisite/)[redirect](https://cn.wordpress.org/plugins/tags/redirect/)
   [status code](https://cn.wordpress.org/plugins/tags/status-code/)
 *  [高级视图](https://cn.wordpress.org/plugins/lh-response-handler/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/lh-response-handler/reviews/#new-post)

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

## 贡献者

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/lh-response-handler/)

## 捐助

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

 [ 捐助此插件 ](https://lhero.org/portfolio/lh-response-handler/)