Title: Primary Redirect
Author: Mustafa Uysal
Published: <strong>2012 年 8 月 26 日</strong>
Last modified: 2025 年 7 月 25 日

---

搜尋外掛

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

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

# Primary Redirect

 由 [Mustafa Uysal](https://profiles.wordpress.org/m_uysl/) 開發

[下載](https://downloads.wordpress.org/plugin/primary-redirect.2.0.2.zip)

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

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

## 外掛說明

Primary Redirect is a powerful WordPress plugin that allows you to customize where
users are redirected after logging in. Instead of the default WordPress behavior,
you can redirect users to:

 * A custom URL of your choice
 * Their primary blog’s dashboard (in multisite installations)

This plugin is perfect for:
 * Multisite networks where you want users to go to 
their primary blog * Sites with custom dashboards or landing pages * Improving user
experience with personalized redirects

#### Key Features

 * **Custom URL Redirect**: Set any URL as the post-login destination
 * **Primary Blog Redirect**: Automatically redirect users to their primary blog’s
   dashboard (multisite)
 * **Network & Single Site Support**: Works on both multisite networks and single
   WordPress sites
 * **Easy Configuration**: Simple settings interface in WordPress admin
 * **Developer Friendly**: Clean, modern code following WordPress best practices

#### Multisite Support

On multisite installations, you get additional options:
 * Redirect users to their
primary blog’s dashboard * Network-wide settings that apply to all sites * Override
custom URLs with primary blog redirect

#### Single Site Support

On single WordPress sites, configure a custom redirect URL that applies to all users
after login.

**If you like this plugin, then consider checking out our other projects:**

 * [Powered Cache](https://poweredcache.com/) – Caching and Optimization for WordPress–
   Easily Improve PageSpeed & Web Vitals Score
 * [Magic Login Pro](https://handyplugins.co/magic-login-pro/) – Easy, secure, and
   passwordless authentication for WordPress.
 * [PaddlePress PRO](https://handyplugins.co/paddlepress-pro/) – Paddle Plugin for
   WordPress
 * [Easy Text-to-Speech for WordPress](https://handyplugins.co/easy-text-to-speech/)–
   Transform your textual content into high-quality synthesized speech with AI.
 * [Handywriter](https://handyplugins.co/handywriter/) – AI-powered writing assistant
   that can help you create content for your WordPress.
 * [WP Accessibility Toolkit](https://handyplugins.co/wp-accessibility-toolkit/)–
   A collection of tools to help you make your WordPress more accessible.

## 螢幕擷圖

[⌊Network admin settings for multisite installations⌉⌊Network admin settings for
multisite installations⌉[

Network admin settings for multisite installations

[⌊Single site settings in General options⌉⌊Single site settings in General options⌉[

Single site settings in General options

## 安裝方式

 1. Upload the plugin files to `/wp-content/plugins/primary-redirect/` directory, or
    install through WordPress admin
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. For multisite: Configure settings in Network Admin > Settings
 4. For single site: Configure settings in Settings > General

## 常見問題集

### Does this work with single WordPress sites?

Yes! The plugin works on both single WordPress installations and multisite networks.

### Can I redirect different users to different URLs?

Currently, the plugin redirects all users to the same custom URL or their primary
blog dashboard. User-specific redirects are not supported in this version.

### Does this affect interim logins or authentication flows?

No, the plugin respects WordPress’s interim login and reauth processes and won’t
interfere with them.

### Is this compatible with other login plugins?

The plugin uses WordPress’s standard `login_redirect` filter, so it should be compatible
with most other plugins. However, if another plugin also modifies login redirects,
the last one to run may take precedence.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Mustafa Uysal ](https://profiles.wordpress.org/m_uysl/)
 *   [ handyplugins ](https://profiles.wordpress.org/handyplugins/)

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

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

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

## 變更記錄

#### 2.0.2 (Jul 25, 2025)

 * Minor adjustments

#### 2.0.1 (Jul 24, 2025)

 * Bump tested up to WordPress 6.8

#### 2.0 (Jul 24, 2025)

 * Complete rewrite with modern WordPress best practices
 * Improved security with proper input sanitization and capability checks
 * Better code organization and documentation
 * Updated plugin header and branding for HandyPlugins
 * Improved user interface with better descriptions
 * Added proper URL validation
 * Enhanced multisite support
 * Minimum WordPress version: 5.0
 * Minimum PHP version: 7.4

#### 1.1

 * Serbo-Croatian language pack added

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **2.0.2**
 *  最後更新 **11 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/primary-redirect/)
 * 標籤:
 * [login](https://tw.wordpress.org/plugins/tags/login/)[multisite](https://tw.wordpress.org/plugins/tags/multisite/)
   [primary](https://tw.wordpress.org/plugins/tags/primary/)[redirect](https://tw.wordpress.org/plugins/tags/redirect/)
   [redirection](https://tw.wordpress.org/plugins/tags/redirection/)
 *  [進階檢視](https://tw.wordpress.org/plugins/primary-redirect/advanced/)

## 評分

 5 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Mustafa Uysal ](https://profiles.wordpress.org/m_uysl/)
 *   [ handyplugins ](https://profiles.wordpress.org/handyplugins/)

## 技術支援

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

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