WP Rocket with MaxCDN
This tutorial will show you step by step how to configure the WordPress WP Rocket Caching Plugin with MaxCDN. I do however recommend KeyCDN now over MaxCDN. More POPs and half the price!
Then click on “Create Pull Zone.”
Then we need to enter your pull zone details. For the zone name you can put whatever you want to call it. Then make sure to put your full domain name and then a short label.
Then under the pull zone overview screen we will click on “Manage.”
Now we need to go over to your domain registar and add a CNAME record for the above custom domain setting to work properly. I will be using Namecheap in my example. However it is very similiar with every domain registrar. Click into your domain and then click on “All Host Records.”
We will then put CDN in the host name column, then paste your CNAME from MaxCDN into the IP/Address column. So in mine I put mysite.mysite.netdna-cdn.com. Change the record type to CNAME and the TTL to 1800. Press save and your all done setting up the CNAME. This will now point cdn.mydomain.com to the MaxCDN servers.
Now you will probably need to wait a few minutes for your CNAME record to propagate. I highly suggest using https://www.whatsmydns.net/#CNAME/ to check on your propagation. Simply enter the URL you chose for your CNAME host record, select CNAME in the dropdown and hit “Search.” You will notice once it is working it will return results with it pointing to the MaxCDN CNAME and a green checkmark.
Once your CNAME has fully propagated we will now go into the CDN tab on the WP Rocket plugin in WordPress. We will select the checkbox to “Enable Content Delivery Network.” We will then input the domain you chose for your CDN, and select “All Files.” All files will give you the fastest results as it will compress and cache everything. Hit “Save Changes” and your all done!
Step 10 (very important)
Back in MaxCDN I highly recommend you setup the SEO section otherwise you might find yourself in trouble. In your pull zone, click into the SEO section at the top. Enable the “Canonical Header” (this will allow your images to index) and then also enable the Robots.txt. I am using a custom one as seen below in my example.
User-agent: * Allow: /wp-content/ Disallow: /wp-admin/
As always feel free to comment below!
Get More Stuff Like This
Marketing, WordPress, Blogging Tips, SEO and Reviews, once a week.
Thank you for subscribing.
Something went wrong.