Title: LinkRail Redirects, 404 &amp; Security
Author: devshujon
Published: <strong>2026 年 5 月 15 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜尋外掛

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

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

# LinkRail Redirects, 404 & Security

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

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

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

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

## 外掛說明

**LinkRail Redirects, 404 & Security** is a fast, lightweight all-in-one URL redirect,
broken-link repair and admin-URL security plugin for WordPress. Built for sites 
that need real redirect power, real login hardening, and real 404 recovery — without
the bloat.

#### Why LinkRail?

Most redirect plugins do one thing. LinkRail bundles three things every serious 
WordPress site actually needs:

 1. **Redirect Manager** — 301, 302, 307, 308, and 410 Gone redirects with exact, prefix,
    regex, and wildcard matching.
 2. **Admin URL Security** — hide your `/wp-login.php` behind a custom slug, IP-whitelist`/
    wp-admin`, and recover with a one-time emergency URL if you ever lock yourself 
    out.
 3. **SEO 404 Broken Link Fixer** — auto-detects 404s across your site and suggests
    or one-click creates redirects to recover lost traffic.

All features are **100% free**. No license keys, no upsells, no feature gating.

#### Core Features

 * Unlimited redirects (301, 302, 307, 308, 410 Gone)
 * Match types: exact, prefix, regex (with capture groups), wildcard
 * Hide wp-login behind a custom slug with IP whitelist and emergency recovery URL
 * Automatic 404 broken link detection and smart redirect suggestions
 * Full visit logs per redirect with hit counters
 * CSV import/export for redirects
 * JSON import/export for plugin settings (each module saved independently)
 * Clean, native-feeling admin UI
 * Translation-ready (text domain: `linkrail`)
 * No external services — everything runs locally

#### Built for Performance

 * Cached lookups via WordPress object cache
 * Indexed database tables for sub-millisecond matching
 * Runs on `template_redirect` — no interference with other plugins
 * Zero frontend JS, zero frontend CSS

#### Privacy

LinkRail stores redirect rules, visit hit counts, and 404 log entries in your own
WordPress database. Nothing is sent to external servers. Bot user-agents are ignored
by default to keep logs clean.

## 螢幕擷圖

 * [[
 * Redirect manager with list, filters, and bulk actions.
 * [[
 * Admin URL security settings with custom slug and IP whitelist.
 * [[
 * 404 broken link detector with one-click fix suggestions.
 * [[
 * Visit logs and redirect stats.
 * [[
 * [[

## 安裝方式

 1. Upload the plugin files to `/wp-content/plugins/linkrail/`, or install through 
    the WordPress Plugins screen.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Go to the **LinkRail** menu in your admin sidebar to create your first redirect.

## 常見問題集

### Does this replace the Redirection plugin?

LinkRail is an independent plugin — it is **not affiliated with or endorsed by**
the Redirection plugin or any other existing redirect plugin. It is a separate, 
standalone tool built from scratch.

### Will hiding wp-login lock me out?

No. LinkRail provides an emergency recovery URL and IP whitelist so you always have
a way back in. The custom slug is also saved in plain text in your database so it
can be recovered via phpMyAdmin if needed.

### Does saving General Settings wipe my Security slug?

No — that bug existed in 1.0.0 and is fixed in 1.1.0. Each settings module now saves
in isolation; saving on one page can never overwrite another module.

### Does it slow down my site?

No. Redirects are cached, lookups are indexed, and the plugin only hooks into `template_redirect`.
On modern hosting the overhead is measurable in microseconds.

### Can I import redirects from another plugin?

Yes, via CSV import. Export from your current plugin as CSV and import into LinkRail.

### Is regex really supported?

Yes. Full PCRE regex with capture group support in the target URL.

## 使用者評論

![](https://secure.gravatar.com/avatar/fe75492bc040c9f2024ff794ddd2b7f2589ca24a9c2fa3b27e7bdbab6ef1592b?
s=60&d=retro&r=g)

### 󠀁[Best Free Redirect Plugin with Premium-Level Features](https://wordpress.org/support/topic/best-free-redirect-plugin-with-premium-level-features/)󠁿

 [mahmud20250](https://profiles.wordpress.org/mahmud20250/) 2026 年 5 月 15 日 1
則留言

Linkrail is easily one of the best free redirect plugins available for WordPress
right now. Most redirect plugins charge for features like regex redirects, 404 monitoring,
login URL changing, or IP whitelisting — but Linkrail includes everything completely
free. You can create unlimited redirects, use regex/wildcard matching, track 404
errors, and even change the default WordPress login URL for extra security. The 
IP whitelist feature is also extremely useful for protecting admin access. What 
I really like is that the plugin stays lightweight and fast while still offering
features that many premium plugins lock behind expensive plans. The UI is clean,
easy to understand, and works smoothly without unnecessary clutter. Perfect for 
SEO fixes, migrations, broken link management, and WordPress security. Big thanks
to Dev Shujon and his team for building such a powerful plugin and keeping all features
free for the community. Highly recommended for every WordPress site.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/linkrail/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈LinkRail Redirects, 404 & Security〉的開發相關工作。

參與者

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

[將〈LinkRail Redirects, 404 & Security〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/linkrail)

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

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

## 變更記錄

#### 1.1.0

 * **Renamed**: Plugin is now **LinkRail Redirects, 404 & Security** (slug, text
   domain, and database keys are unchanged so updates from 1.0.0 are seamless).
 * **FIXED (critical)**: Saving on the General Settings page no longer wipes the
   Custom Login Slug, IP Whitelist, or Security-enabled flag. Each settings form
   now has its own nonce action and a `linkrail_module` identifier; the save router
   writes only the option set belonging to the submitting module.
 * **FIXED**: `Linkrail_Security::save_settings()` no longer clobbers fields absent
   from the payload — missing keys are treated as “no change”, not “set to empty”.
 * **FIXED**: `Linkrail_Security::save_settings()` no longer regenerates the recovery
   token on every save (only generates one if missing) — your bookmarked recovery
   URL stays valid.
 * **NEW**: JSON import/export for all plugin settings on the Import/Export page.
   Each module is imported independently — partial files cannot overwrite untouched
   modules.
 * **NEW**: One-shot migrator (`Linkrail_Migrator`) safely upgrades any legacy `
   linkrail_settings` blob to the per-option layout without losing data. Old blob
   is archived as `linkrail_settings__migrated_backup` for one release cycle.
 * **NEW**: Defaults are seeded on activation/upgrade so every option always has
   a known value.
 * **NEW**: Custom login slug now also blocks the reserved words `wp-content` and`
   wp-includes` in addition to the existing list.
 * **CHANGED**: `Requires PHP` bumped to 8.0 to honestly reflect language features
   already used in 1.0.0 (`match`, `str_contains`, union return types, `never`).
   PHP 7.4 reached end of life in November 2022.
 * **CHANGED**: Saving on the Security page now redirects back to the Security page(
   was: redirected to Settings page).
 * **CHANGED**: Removed the unused `linkrail_settings_save` hidden field.
 * **CHANGED**: `linkrail_db_version` is now only written after both `install()`
   and `Linkrail_Migrator::run()` complete, so a partially-upgraded site cannot 
   lock itself out of re-running the migrator.
 * **CHANGED**: Internal — replaced PHP 8.1 `never` return type with `void` for 
   slightly broader runtime compatibility.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **1 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/linkrail/)
 * 標籤:
 * [301](https://tw.wordpress.org/plugins/tags/301/)[404](https://tw.wordpress.org/plugins/tags/404/)
   [redirect](https://tw.wordpress.org/plugins/tags/redirect/)[redirection](https://tw.wordpress.org/plugins/tags/redirection/)
   [security](https://tw.wordpress.org/plugins/tags/security/)
 *  [進階檢視](https://tw.wordpress.org/plugins/linkrail/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/linkrail/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/linkrail/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/linkrail/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/linkrail/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/linkrail/reviews/?filter=1)

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

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

## 參與者

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

## 技術支援

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

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