In this tutorial, we’re going to show you how to set up the CDN for your WordPress site in WP Engine.
What is a CDN?
CDN stands for Content Delivery Network. A content delivery network is a large system of servers located in data centers across the world. The purpose of a CDN is to load content in a browser using the server physically closest to the end user’s location, making browser load time much faster.
- Start by logging into my.wpengine.com
- Next, on the left sidebar, click on the installation name that you want the CDN set up for.
- Under the installation name, click ”CDN”
- Click the checkboxes under CDN enabled for both the www and non-www version of your site name.
- Don’t worry about the [your domain].wpengine.com version of your site. Typically, you’d only be using that domain for testing, and wouldn’t want or need a CDN enabled.
- Click the “Save” button
You can check to see if your site is being served on a CDN by going to a media file on your site, like an image for example.
- Right click on the image, and choose to either “Open Image in New Tab,” or “View Image Info.” The option depends on what browser you’re working in.
- Before the CDN was setup, your image path would look something like http://[your domain name].com/wp-content/uploads/2013/08/images.jpg.
- With the CDN turned on, now your image path would look like http://72189723iuyhaefha928392832f.wpengine.netdna-cdn.com/wp-content/uploads/2013/08/images.jpg.
The CDN is now setup for your WordPress site. Check out our other tutorial if you wish to create a custom CDN URL subdomain such as “cdn.[your domain name].com.”
Our WordPress hosting comparison matrix lets you search features & compare pricing side-by-side amongst popular WordPress hosts, including WP Engine. Give it a try.