Title: Simple Website Redirect
Author: Micah Wood
Published: <strong>2018 年 2 月 6 日</strong>
Last modified: 2025 年 3 月 15 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/simple-website-redirect/assets/icon-256x256.png?rev=3200400)

# Simple Website Redirect

 由 [Micah Wood](https://profiles.wordpress.org/wpscholar/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-website-redirect.1.3.2.zip)

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

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

## 外掛說明

The **Simple Website Redirect** plugin allows to you redirect an entire website (
except the WordPress backend) to another website.

The URL path and query string is preserved when redirecting to the new site. Ideally,
the new site would handle any one-off redirects where a URL for an old page should
point to a new page. The [Redirection](https://wordpress.org/plugins/redirection/)
plugin is great for this purpose.

Find out more about [website redirects for SEO](https://moz.com/learn/seo/redirection).

#### Usage Instructions

Using this plugin is simple:

 1. Install the plugin
 2. Activate the plugin
 3. Go to ‘Settings’ in the WordPress admin menu and then click on ‘Website Redirect’.
 4. Enter the URL you want to redirect the site to, set the desired redirection type,
    set the status to ‘Enabled’ and save your changes!

Note: Redirection type can either be ‘Temporary’ or ‘Permanent’. It is recommended
that you start with ‘Temporary’ while testing and then convert to ‘Permanent’ after
testing for maximum SEO benefit. Please be aware that [browsers cache permanent redirects](https://wpscholar.com/blog/browser-caching-301-redirects/).

## 螢幕擷圖

 * [[
 * Just enter the URL you want to redirect the site to, set the desired redirection
   type, set the status to ‘Enabled’ and save!
 * [[
 * Advanced settings let you configure exclusions to redirects on the front end.
   Very useful if you still need to use a front-end page builder while redirecting
   everything else.

## 安裝方式

#### Prerequisites

If you don’t meet the below requirements, I highly recommend you upgrade your WordPress
install or move to a web host that supports a more recent version of PHP.

 * Requires WordPress version 4.0 or greater
 * Requires PHP version 5.4 or greater

#### The Easy Way

 1. In your WordPress admin, go to ‘Plugins’ and then click on ‘Add New’.
 2. In the search box, type in ‘Simple Website Redirect’ and hit enter. This plugin
    should be the first and likely the only result.
 3. Click on the ‘Install’ link.
 4. Once installed, click the ‘Activate this plugin’ link.

#### The Hard Way

 1. Download the .zip file containing the plugin.
 2. Upload the file into your `/wp-content/plugins/` directory and unzip
 3. Find the plugin in the WordPress admin on the ‘Plugins’ page and click ‘Activate’

## 使用者評論

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

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1455/)󠁿

 [apuliabikeroute](https://profiles.wordpress.org/apuliabikeroute/) 2022 年 12 月
8 日

Just need a plugin just to redirect the old links to the new domain. Needed 5 mins
to do all and works fine

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-9566/)󠁿

 [blunoa](https://profiles.wordpress.org/blunoa/) 2022 年 10 月 25 日

Work perfectly is easy to set up and is the best tool if you need to redirect the
whole website.

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

### 󠀁[Works Perfectly!](https://wordpress.org/support/topic/works-perfectly-2540/)󠁿

 [YaegerDesign](https://profiles.wordpress.org/yaegerdesign/) 2022 年 10 月 21 日
1 則留言

This was a really simple option to change domains of a website while waiting on 
DNS updates and domain transfers!

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-7448/)󠁿

 [soulcommerce](https://profiles.wordpress.org/soulcommerce/) 2021 年 10 月 18 日

Simple, easy to use and ready to go! Congrats!

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

### 󠀁[Blocks WP-CLI](https://wordpress.org/support/topic/blocks-wp-cli/)󠁿

 [tkaprol](https://profiles.wordpress.org/tkaprol/) 2021 年 9 月 27 日 1 則留言

I’m running the plugin in a multisite deployment. Currently main site redirected
into another using the plugin. However, we can not run any wp-cli command while 
plugin enabled.

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

### 󠀁[super simple ….](https://wordpress.org/support/topic/super-simple-82/)󠁿

 [aaronmspelling](https://profiles.wordpress.org/aaronmspelling/) 2021 年 5 月 7
日 1 則留言

super simple …. and very …… just simple ……. good job dev.

 [ 閱讀全部 21 則使用者評論 ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/)

## 參與者及開發者

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

參與者

 *   [ Micah Wood ](https://profiles.wordpress.org/wpscholar/)

〈Simple Website Redirect〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/simple-website-redirect/contributors)
為這個外掛做出的貢獻。

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

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

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

## 變更記錄

#### 1.3.2

 * Add wp-cron.php to the exclude path.

#### 1.3.1

 * Fix logic for supporting query param exclusion.

#### 1.3.0

 * Fix issue where query params weren’t properly being checked.
 * Allow all REST API calls to work without being redirected (allows WP editor and
   other page builders to work in the admin area).

#### 1.2.9

 * Fix issue where redirects were not properly preserving URL query parameters.

#### 1.2.8

 * Fix issue where redirects were preventing WP-CLI commands from running properly.

#### 1.2.7

 * Allow saving any redirect URL value, but provide a warning to the user if redirecting
   to the same domain.
 * Fix issue where a trailing slash was being added to URLs when it shouldn’t be.

#### 1.2.6

 * Fix issue where some URLs containing file extensions had a trailing slash added.
 * Added WordPress-Redirect-By header.

#### 1.2.5

 * Fix issue with build where vendor directory wasn’t generated.

#### 1.2.4

 * Don’t redirect the REST API
 * Fix to allow use of the customizer without redirecting its contents
 * Fix to allow use of Elementor without redirecting key assets

#### 1.2.3

 * Bug fix to handle issues when saving without setting a redirect URL.

#### 1.2.2

 * Make sure the URL path associated with the WordPress home URL doesn’t get appended
   to the URL when preserving URL paths.
 * Properly sanitize the redirect URL to prevent redirect loops while ensuring compatibility
   with sites installed in a subdirectory.
 * Fixed issue where an empty redirect URL could result in a non-empty redirect 
   URL after filtering.

#### 1.2.1

 * Added the ability to bypass any redirect by appending the `?simple-website-redirect`
   query string.
 * Ensure that redirects are prevented for admin and login pages regardless of where
   WordPress is installed.
 * Fix minor issue where some urls would have double slashes at the beginning of
   the path.

#### 1.2

 * Added the ability to add exclude paths and exclude parameters which, when set,
   will prevent redirects from occurring if a match with one of these exclusions
   is found.

#### 1.1

 * Updated code to comply with strict coding standards.
 * Added an option to redirect all pages to the homepage.

#### 1.0.2

 * Fix bug where redirect URL cannot contain a path
 * Fix bug where redirect URL is sanitized when redirect is disabled.

#### 1.0.1

 * Fix bug where redirect occurred when on login page.

#### 1.0

 * Initial commit

## 中繼資料

 *  版本 **1.3.2**
 *  最後更新 **1 年前**
 *  啟用安裝數 **6,000+**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-website-redirect/)、[Spanish (Spain)](https://es.wordpress.org/plugins/simple-website-redirect/)、
   及 [Swedish](https://sv.wordpress.org/plugins/simple-website-redirect/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/simple-website-redirect)
 * 標籤:
 * [forward](https://tw.wordpress.org/plugins/tags/forward/)[forwarding](https://tw.wordpress.org/plugins/tags/forwarding/)
   [redirect](https://tw.wordpress.org/plugins/tags/redirect/)[redirection](https://tw.wordpress.org/plugins/tags/redirection/)
   [website](https://tw.wordpress.org/plugins/tags/website/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-website-redirect/advanced/)

## 評分

 4.6 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Micah Wood ](https://profiles.wordpress.org/wpscholar/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/wpscholar)