Amazon AWS CDN

Description

This plugin helps you setup your AWS CloudFront Distribution and serve static contents (Now supports WordPress Multisite setup). You can also use other CDNs which provides a custom CDN URL (E.G: cdn.YourAwesomeSite.com)

Special thanks to:
@techboomie
@seocosenza

Screenshots

  • screenshot-1.jpg
  • screenshot-2.jpg

Installation

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.

FAQ

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

Reviews

23 August 2020
I have not see a plugin that works so well right off the bat. Amazing. I have tried other plugins and my own manual setup for setting up AWS CDN for my website and they all required a lot of manual tinkering and still some small items were always broken. I tried this plugin, and voila! It just works! Please buy the developer coffee.
Makes sense of CDN setup, with concise instructions. My page load speed improved about 50% or 2 seconds, which helped get to page one in search engines locally for my business. Very happy, thanks. Hope the coffee is outstanding!
20 May 2020
The plugin in itself is no doubt amazing. But the support from the team is really good. Thanks for resolving my issue and saving tons of time for me.
22 February 2020
Easy to setup. Works great and added lot's of extra points to my Google Pagespeed score.
18 February 2020
Plugin works perfect, is rather easy to install and configure. The support is great. The developer assisted me rather quickly with timely follow-up to address a small issue related to icons not loading from the CDN (not a plugin fault). Great stuff and very well worth the install. Donation made!
9 January 2020
I wanted to get my static content on AWS Cloudfront without having to use a bloated heavyweight plugin. I just wanted a plugin where I enter my AWS Keys, my CDN domain name, nothing more or less. This plugin does this. There was one tweak needed on cloudfront > edit behavior > Whitelist Headers, I added "Origin" to fix the CORS for fonts and icons. If you want a higher GTmetrix score and faster page loads, this plugin and AWS cloudfront will do it.
Read all 40 reviews

Contributors & Developers

“Amazon AWS CDN” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Amazon AWS CDN” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

V.1.5.6
Added support for WPML

V.1.5.5
Fixed jQuery issue on the plugin admin page

V.1.5.4
Fixed the strpos() expects parameter 1 to be string in the log file

V.1.5.3
Fixed the Uncaught Error: Object of class stdClass could not be converted to string

V.1.5.2
Plugin now supports relative URLs.

V.1.5.1
Fixed the issue with broken customize theme when the plugin was activated.

V.1.5.0
Fixed ignored files list.