Title: RationalRedirects
Author: rationalwp
Published: <strong>2026 年 3 月 6 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜尋外掛

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

![](https://ps.w.org/rationalredirects/assets/icon-256x256.png?rev=3476577)

# RationalRedirects

 由 [rationalwp](https://profiles.wordpress.org/rationalwp/) 開發

[下載](https://downloads.wordpress.org/plugin/rationalredirects.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/rationalredirects/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/rationalredirects/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/rationalredirects/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/rationalredirects/#developers)

 [技術支援](https://wordpress.org/support/plugin/rationalredirects/)

## 外掛說明

RationalRedirects is a lightweight WordPress plugin for managing URL redirects. 
It supports exact path matching, regular expressions with capture groups, and automatically
creates redirects when post/page slugs change.

**Features:**

 * **Simple Redirects** – Redirect one URL to another with 301, 302, 307, or 410
   status codes
 * **Regex Support** – Use regular expressions with capture groups for flexible 
   pattern matching
 * **Auto Slug Redirects** – Automatically create redirects when you change a post
   or page URL slug
 * **Hit Counter** – Track how many times each redirect is triggered
 * **Fast Performance** – Database-indexed lookups and transient caching for regex
   patterns
 * **Import System** – Import redirects from Yoast SEO Premium, Rank Math, All in
   One SEO, SEOPress, and Redirection

### External Services

This plugin connects to the following external services:

#### RationalWP Plugin Directory

This plugin fetches a list of available RationalWP plugins from [rationalwp.com](https://rationalwp.com/)
to display in the WordPress admin menu. Only the menu file version number is sent
as a cache-busting query parameter. No user data is transmitted. The response is
cached locally for 24 hours.

 * Service URL: [https://rationalwp.com/plugins.json](https://rationalwp.com/plugins.json)
 * Terms of Service: [https://rationalwp.com/terms/](https://rationalwp.com/terms/)
 * Privacy Policy: [https://rationalwp.com/privacy/](https://rationalwp.com/privacy/)

## 安裝方式

 1. Upload the `rationalredirects` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to RationalWP > Redirects to manage your redirects

## 常見問題集

### How do I create a simple redirect?

Go to RationalWP > Redirects, enter the source path (e.g., `/old-page`), the destination
URL, select a status code, and click “Add Redirect”.

### How do I use regex redirects?

Check the “Is Regex” box when creating a redirect. Use capture groups in your pattern
and reference them in the destination with `$1`, `$2`, etc.

Example: Pattern `/blog/(.*)` with destination `/news/$1` will redirect `/blog/my-
post` to `/news/my-post`.

### What status codes are available?

 * **301** – Permanent redirect (recommended for SEO)
 * **302** – Temporary redirect
 * **307** – Temporary redirect (preserves request method)
 * **410** – Gone (content permanently removed)

### How do automatic slug redirects work?

When enabled in settings, the plugin monitors changes to post and page URLs. When
you change a slug, it automatically creates a 301 redirect from the old URL to the
new one.

### Can I import redirects from other plugins?

Yes! The Import tab supports importing from Yoast SEO Premium, Rank Math, All in
One SEO, SEOPress, and Redirection.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈RationalRedirects〉的開發相關工作。

參與者

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

[將〈RationalRedirects〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/rationalredirects)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/rationalredirects/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/rationalredirects/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/rationalredirects/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/rationalredirects/)。

## 變更記錄

#### 1.0.2

 * Tested up to WordPress 7.0.

#### 1.0.1

 * Fixing plugin URL
 * Initial release
 * Simple and regex redirect support
 * Automatic slug change tracking
 * Hit counter for redirects
 * Import system for popular SEO plugins

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **2 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/rationalredirects/)
 * 標籤:
 * [301 redirect](https://tw.wordpress.org/plugins/tags/301-redirect/)[302 redirect](https://tw.wordpress.org/plugins/tags/302-redirect/)
   [redirect](https://tw.wordpress.org/plugins/tags/redirect/)[url redirect](https://tw.wordpress.org/plugins/tags/url-redirect/)
 *  [進階檢視](https://tw.wordpress.org/plugins/rationalredirects/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/rationalredirects/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/rationalredirects/)