Title: WP CDN Rewrite
Author: Chris Scott
Published: <strong>2014 年 1 月 7 日</strong>
Last modified: 2016 年 9 月 27 日

---

搜尋外掛

![](https://ps.w.org/wp-cdn-rewrite/assets/banner-772x250.png?rev=834435)

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

![](https://s.w.org/plugins/geopattern-icon/wp-cdn-rewrite_d94965.svg)

# WP CDN Rewrite

 由 [Chris Scott](https://profiles.wordpress.org/chrisscott/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-cdn-rewrite.0.4.0.zip)

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

 [技術支援](https://wordpress.org/support/plugin/wp-cdn-rewrite/)

## 外掛說明

This plugin allows you to rewrite the root url of assets, css, and js files. This
allows you to load these resources from an external URL improving the page load 
time by taking advantage of parallel browser requests.

This plugin requires the use of the [Voce Settings API](https://github.com/voceconnect/voce-settings-api)
library.

If using [Composer](http://getcomposer.org) for dependency management, you can alternatively,
after including the plugin files, run composer install to retreive the Voce Settings
API dependency.

## 安裝方式

 1. Upload `cdn-rewrite` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Once the plugin has been activated, navigate to the CDN Rewrite settings page and
    set the appropriate settings.

## 使用者評論

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

### 󠀁[Perfect for my elementor enabled sites](https://wordpress.org/support/topic/perfect-for-my-elementor-enabled-sites/)󠁿

 [Sudhir Dixit](https://profiles.wordpress.org/sudhirdixit/) 2020 年 6 月 23 日

Hello Team, nice plugin, i have wasted lot of time to integrated CDN to one of my
client site, but every time it fails because of Elementor was not loading CDN Urls
automatically. i have used this plugin and it works perfectly. Please release latest
updates of this plugin, even this version is working properly. Thank you.

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

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-23773/)󠁿

 [Suanlian Tangpua](https://profiles.wordpress.org/suanlian/) 2019 年 11 月 22 日

Only this plugin work for me. I tried CDN Enabler, WPRocket (inbuilt CDN Integration)
Nothing works for me. Only this plugin can integrate CDN properly for single post
statics file like images, js, css etc. Guys who used all the above mention plugin
to integrate CDN please check your single post statics.

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

### 󠀁[Easy to use, works very good for me (+ 1 request)](https://wordpress.org/support/topic/easy-to-use-works-very-good-for-me-1-request/)󠁿

 [Sahar](https://profiles.wordpress.org/saharusa/) 2016 年 12 月 6 日

Hi, Thanks for this plugin. Really does a good job. I use it together with WP Super
Cache and Autoptimize. I have a small suggestion, it can be a great option in my
opinion to add multi host support, for example: cdn1.domainname.com, cdn2.domainname.
com etc. so if you have multi hosts/servers distro the plugin will divide the load
between them.

 [ 閱讀全部 9 則使用者評論 ](https://wordpress.org/support/plugin/wp-cdn-rewrite/reviews/)

## 參與者及開發者

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

參與者

 *   [ Chris Scott ](https://profiles.wordpress.org/chrisscott/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)
 *   [ prettyboymp ](https://profiles.wordpress.org/prettyboymp/)
 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)

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

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

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

## 變更記錄

#### 0.4.0

 * Fixing bug with relative protocol and explicitly checking scheme

#### 0.3.0

 * Abstracting logic from wp-cdn-rewrite.php in order for the `class_exists` check
   to work as intended when APC cache is enabled

#### 0.2.1

 * Updating version numbers and change logs

#### 0.2.0

 * Testing WordPress 4.4
 * Adding srcset support

#### 0.1.5

 * Testing with WordPress 4.1

#### 0.1.4

 * Fixing error when file does not exist and fixing _doing_it_wrong call

#### 0.1.3

 * Adding Grunt build files

#### 0.1.2

 * Adding Capistrano deploy files

#### 0.1.1

 * Fixing issue with URLs without a path part.

#### 0.1.0

 * Initial version.

## 中繼資料

 *  版本 **0.4.0**
 *  最後更新 **10 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.5.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-cdn-rewrite/)
 * 標籤:
 * [cdn](https://tw.wordpress.org/plugins/tags/cdn/)[rewrite](https://tw.wordpress.org/plugins/tags/rewrite/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-cdn-rewrite/advanced/)

## 評分

 4.4 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Chris Scott ](https://profiles.wordpress.org/chrisscott/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)
 *   [ prettyboymp ](https://profiles.wordpress.org/prettyboymp/)
 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)

## 技術支援

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

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