Amazon AWS CDN

外掛說明

The new & improved Amazon Cloudfront Distribution Plugin by WPAdmin. Setup Amazon Cloudfront CDN for your website. Now with intuitive layout and more flexibility. Also supports WordPress Multisite installation.

螢幕擷圖

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png

安裝方式

Using the WordPress Plugin Search

  1. Navigate to the Add New sub-page under the Plugins admin page.

  2. Search for AWS CDN By WPAdmin.

  3. The plugin should be listed first in the search results.

  4. Click the Install Now link.

  5. Lastly click the Activate Plugin link to activate the plugin.

Uploading in WordPress Admin

  1. Download the plugin zip file and save it to your computer.

  2. Navigate to the Add New sub-page under the Plugins admin page.

  3. Click the Upload link.

  4. Select aws-cdn-by-wpadmin zip file from where you saved the zip file on your computer.

  5. Click the Install Now button.

  6. Lastly click the Activate Plugin link to activate the plugin.

Using FTP

  1. Download the plugin zip file and save it to your computer.

  2. Extract the aws-cdn-by-wpadmin zip file.

  3. Create a new directory named aws-cdn-by-wpadmin directory in the ../wp-content/plugins/ directory.

  4. Upload the files from the folder extracted in Step 2.

  5. Activate the plugin on the Plugins admin page.

常見問題集

CORS Error: No Access-Control-Allow-Origin header is present on the requested resource

Apache

Add the following in your .htaccess file, immediately under ‘# END WordPress’

<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$">
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>

Nginx

Add something like this to your vhost config

location ~* \.(eot|otf|ttf|woff|woff2)$ {
    add_header Access-Control-Allow-Origin *;
}

Refer to this article for more info: https://github.com/fontello/fontello/wiki/How-to-setup-server-to-serve-fonts

How To Create An AWS User

Follow the steps in this article

Got a Question?

Send me an email

使用者評論

2021 年 8 月 10 日
Hi, we sat up the custom domain on aws cloudfront services right and even the plugin finds the SSL when I click the list certificate. But, still the custom domain name is greyed out. May I know what's the issue. Thanks.
2021 年 4 月 25 日
Dear friend, Thanks a lot for the plugin, saved us a ton of time and effort. One small clarification needed, would be great if you could help. Once the cdn was setup and worked we left it alone till now when we realised that the data was being pumped by the website on inspection we realised that the plugin was missing as we had created an instance from a pre plugin ami. We installed it again and did another setup to make it work. We checked and found taht the erlier distribution was present and enabled but probably not serving. So my question is...does the plugin has any depedency on the distribution and vice verca?
閱讀全部 48 則使用者評論

參與者及開發者

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

參與者

將 Amazon AWS CDN 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

V.2.0.6
Minor Tweaks
V.2.0.5
Minor Tweaks
V.2.0.4
Minor Tweaks and tested with WP 5.8
V.2.0.3
Fixed CDN not created with custom domain issue
V.2.0.2
Removed debug code.
V.2.0.1
Fixed the href link being converted to cloudfront addresses.
V.2.0
New & Improved Layout, simplified features and upgraded AWS.Phar