설명
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
설치
Using the WordPress Plugin Search
-
Navigate to the
Add New
sub-page under the Plugins admin page. -
Search for
AWS CDN By WPAdmin
. -
The plugin should be listed first in the search results.
-
Click the
Install Now
link. -
Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
-
Download the plugin zip file and save it to your computer.
-
Navigate to the
Add New
sub-page under the Plugins admin page. -
Click the
Upload
link. -
Select
aws-cdn-by-wpadmin
zip file from where you saved the zip file on your computer. -
Click the
Install Now
button. -
Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
-
Download the plugin zip file and save it to your computer.
-
Extract the
aws-cdn-by-wpadmin
zip file. -
Create a new directory named
aws-cdn-by-wpadmin
directory in the../wp-content/plugins/
directory. -
Upload the files from the folder extracted in Step 2.
-
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
-
Got a Question?
후기
기여자 & 개발자
변경이력
V.1.6.0
Minor tweak and upgraded AWS.Phar