Amazon AWS CDN

Beschreibung

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

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

Rezensionen

A little lost for words Amazing

I am a little lost for words to the simplicity of this plugin. You can watch a top tradesperson work and they make the job look simple. This plugin is just like that. It is so simple to use that you have this thing where it is not possible that it could work. I am not a coder and other wp plugins can be a nightmare. Developed by very clever people but just not good at making them work for the lame, such as myself. I take my hat off to you mate, this should be a premium plugin as it is worth its weight in gold. This is the very best. Thank You
Lies alle 22 Rezensionen

Mitwirkende & Entwickler

„Amazon AWS CDN“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „Amazon AWS CDN“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

V.1.4.0
The plugin can now requests a public SSL certificate from Amazon Certificate Manager, if you intend to use cdn.YourAwesome.Site. You can also exclude particular files to avoid CORS issue.

V.1.3.9
Disabled cdn domain names temporarily, to avoid the ‚InvalidViewerCertificate‘ error.

V.1.3.8
Switched from SERVER_NAME to HTTP_HOST.

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)