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:
https://wordpress.org/support/users/techboomie/
https://wordpress.org/support/users/seocosenza/

Screenshots

  • screenshot-1.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

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 "*"
</IfModule>
</FilesMatch>
How To Create An AWS User

Follow the steps in this article

Got a Question?

Send me an email

Reviews

No connection test

I was hoping that there are a connection test or confirmation that there is a connection between the website and the aws cdn.

Great Plugin!

The speed increase was impressive. It took our site from 13+ to about a 4-second load time. I had to work out a couple of bugs on our end like CORS and JQuery conflicts, but the end result I'm very happy with.

Not Compatible with Elementor

Installed this and set everything up on one of our site and Elementor completely stopped working. Cannot comment on the plugin but if you use elementor please be cautious!
Read all 17 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.

Changelog

V.1.3.7
Existing users can now use the ‘Modify’ button to add CORS headers to AWS Cloudfront.

V.1.3.6
Minor tweaks and updates.

V.1.3.5
CORS Issue on HTTPS Site Fixed.

V.1.3.4
Minor tweaks and updates.

V.1.3.3
Minor tweaks and updates.

V.1.3.2
As reported on https://wordpress.org/support/topic/its-catching-all-scripts-but-skipping-images/
Added support to include both domain.name and www.domain.name

V.1.3.1
Tested with WordPress 5.0 added wp-includes to CDN.

V.1.3.0
Fixed the Error loading stylesheet: An unknown error has occurred (805303f4) error when loading stylesheets in sitemaps.

V.1.2.9
minor fixes to lock down access.

V.1.2.8
Added feature to modify the cloudfront distribution & create per site distribution for Multi-site setup

V.1.2.7
Added ‘Send Debug Log to Developer’ button in case the plugin fails.

V.1.2.6
Minor tweaks and updates.

V.1.2.5

Fixed the POST https://cloudfront.amazonaws.com/2016-11-25/distribution resulted in a 404 Not Found issue

V.1.2.4

Tested with WordPress Multisite

V.1.2.3

Fixed the duplicate \’cdn.\’ in script and style tags when using custom cdn domain name

V.1.2.1
Tested with the latest version of WordPress

V.1.2
Tested with the latest version of WordPress

V.1.1

Updated AWS Phar and also added min/max Cache time fields

V.0.9

Fixed Object not found issue.

V.0.8

Fixed issue with GuzzleHttp\Psr7\ conflict.

V.0.7

Updated version for WordPress 4.5.1.

V.0.6

Invalidation not required after updating Stylesheet.

V.0.5

Now rewrites all media (except logo)