The new & improved Amazon Cloudfront Distribution Plugin by WPAdmin. Setup Amazon Cloudfront CDN for your website. Now with intuitive layout and m …
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.
Navigate to the Add New
sub-page under the Plugins admin page.
Search for WPAdmin AWS CDN
.
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.
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 wpadmin-aws-cdn
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.
Download the plugin zip file and save it to your computer.
Extract the wpadmin-aws-cdn
zip file.
Create a new directory named wpadmin-aws-cdn
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.
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
Follow the steps in this article
V.3.0.1
Enhancements