{"id":5294,"date":"2013-12-02T14:29:37","date_gmt":"2013-12-02T19:29:37","guid":{"rendered":"http:\/\/www.techwalls.com\/?p=5294"},"modified":"2014-12-17T12:12:28","modified_gmt":"2014-12-17T17:12:28","slug":"setup-maxcdn-for-wordpress","status":"publish","type":"post","link":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/","title":{"rendered":"How to Set Up MaxCDN on WordPress"},"content":{"rendered":"<p>After playing around with different services to optimize page speed for TechWalls, I decided to come back to my first solution which is MaxCDN.<!--more--><\/p>\n<p>Once again, I am so impressed with quality of the service and this is <a title=\"Best CDN Services - MaxCDN, Amazon CloudFront and Google PageSpeed Review\" href=\"https:\/\/www.techwalls.com\/best-cdn-services-wordpress\/\">the best CDN service for WordPress<\/a> in my experience. I will talk more about it in the MaxCDN review, this post will just concentrate on setting up MaxCDN on your WordPress website. Compared to Amazon CloudFront CDN, <a href=\"http:\/\/tracking.maxcdn.com\/c\/17960\/3982\/378\" target=\"_blank\" rel=\"nofollow\"><strong>MaxCDN<\/strong><\/a> is much simpler and easier to set up. It will take you less than 8 minutes if you follow exactly the following steps:<\/p>\n<h2>Step 1: Install W3 Total Cache Plugin<\/h2>\n<p>Probably you have already installed the plugin to cache your website. If that&#8217;s not the case, go to Dashboard &#8211; Plugins to look for the W3 Total Cache Plugin. You must have this plugin to run MaxCDN.<\/p>\n<h2>Step 2: Configure the Plugin<\/h2>\n<p>Go to <strong>Performance<\/strong> (the new item of W3 Total Cache plugin), choose <strong>General Settings<\/strong> and start configuring the plugin to work with MaxCDN.<\/p>\n<p>Here you will see a lot of options. Make sure to enable <strong>Page Cache<\/strong> and the Page Cache method is <em>Disk:Enhanced<\/em>, disable <strong>Minify<\/strong>, disable <strong>Database Cache<\/strong>, enable <strong>Object Cache<\/strong>, enable <strong>CDN<\/strong> and select <strong>MaxCDN<\/strong> for <em>CDN Type<\/em>. Click on <em>Save all settings<\/em>.<\/p>\n<p><strong>Note<\/strong>: A lot of tutorials said that we should enable minify, however I had to disable Minify because my site didn&#8217;t work properly with this feature enabled.<\/p>\n<h2>Step 3: Create a Pull Zone<\/h2>\n<p>Now, log in to your MaxCDN account, navigate to <strong>Zones<\/strong> and choose <strong>Create Pull Zone<\/strong>. A Pull Zone is used to serve ordinary websites, one Pull Zone could serve one website only. A Pull Zone will help accelerate files that are smaller than 10MB like images, javascript or CSS files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5310\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg\" alt=\"maxcdn-setup-1\" width=\"700\" height=\"907\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg 700w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1-232x300.jpg 232w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>Then, just fill in all the fields and choose custom CDN domain such as <em>cdn.techwalls.com<\/em>. Click on <strong>Create<\/strong> and your zone will be provisioned in a minute. After that, you will be asked to create a CNAME record for your custom CDN domain.<\/p>\n<h2>Step 4: CNAME custom CDN domain<\/h2>\n<p>This step will create a CNAME record for your custom CDN domain (cdn.techwalls.com) to point to the hostname of MaxCDN. If you are using a hosting with CPanel, just go to\u00a0<strong>Advanced DNS Zone Editor<\/strong>, select your domain name, and fill in fields in the\u00a0<strong>Add a Record<\/strong>\u00a0section. <strong>Name<\/strong>\u00a0is the prefix of your custom CDN domain (for example <em>CDN<\/em>), <strong>TTL<\/strong>\u00a0is set at 14400 (4 hours), <strong>Type<\/strong> is <em>CNAME<\/em>, and <strong>CNAME<\/strong> is your temporary CDN domain you received after creating pull zone. Click on <strong>Add Record<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5309\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-4.jpg\" alt=\"maxcdn-setup-4\" width=\"650\" height=\"685\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-4.jpg 650w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-4-285x300.jpg 285w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/p>\n<h2>Step 5:\u00a0CDN settings<\/h2>\n<p>Now come back to the W3 Total Cache plugin, navigate to the <strong>CDN<\/strong> tab. In the <strong>General<\/strong> section, make sure to check on <em>host attachments<\/em>, <em>host wp-includes\/files<\/em>, <em>host theme files<\/em>, <em>host minfied CSS and JS files<\/em>, <em>host custom files<\/em>, you can also check on <em>Add canonical header<\/em> for SEO purpose.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5307\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-2.jpg\" alt=\"maxcdn-setup-2\" width=\"750\" height=\"384\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-2.jpg 750w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-2-300x154.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>Scroll down, in the <strong>Configuration<\/strong> tab, click on <strong>Authorize<\/strong> to get authorization key and connect to your MaxCDN account. In the field <em>Replace site&#8217;s hostname with<\/em>, you can fill in your temporary or custom CDN domain (cdn.techwalls.com).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5308\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-3.jpg\" alt=\"maxcdn-setup-3\" width=\"750\" height=\"350\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-3.jpg 750w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-3-300x140.jpg 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>Click on <strong>Save all settings<\/strong> and you are all set.<\/p>\n<p>If you have any issue setting up CDN, let me know in the comment section below or you can always contact their 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After playing around with different services to optimize page speed for TechWalls, I decided to come back to my first solution which is MaxCDN.<\/p>\n","protected":false},"author":42,"featured_media":5310,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1445,1146],"tags":[1147,28],"class_list":{"0":"post-5294","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-featured","8":"category-guide","9":"tag-guide-2","10":"tag-wordpress","11":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up MaxCDN on Wordpress<\/title>\n<meta name=\"description\" content=\"Compared to other services, MaxCDN is much simpler and easier to set up. It will take you less than 8 minutes if you follow exactly the following steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tuan Do\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/\",\"url\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/\",\"name\":\"How to Set Up MaxCDN on Wordpress\",\"isPartOf\":{\"@id\":\"https:\/\/www.techwalls.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg\",\"datePublished\":\"2013-12-02T19:29:37+00:00\",\"dateModified\":\"2014-12-17T17:12:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90\"},\"description\":\"Compared to other services, MaxCDN is much simpler and easier to set up. It will take you less than 8 minutes if you follow exactly the following steps.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg\",\"contentUrl\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg\",\"width\":700,\"height\":907},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.techwalls.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Featured\",\"item\":\"https:\/\/www.techwalls.com\/featured\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Set Up MaxCDN on WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.techwalls.com\/#website\",\"url\":\"https:\/\/www.techwalls.com\/\",\"name\":\"TechWalls\",\"description\":\"Technology News | Gadget Reviews | Tutorials\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.techwalls.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90\",\"name\":\"Tuan Do\",\"description\":\"I am the founder and editor of TechWalls technology blog. I have been blogging for 8 years and here you can find latest technology news, gadgets, tutorials and product reviews.\",\"url\":\"https:\/\/www.techwalls.com\/author\/rickyadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up MaxCDN on Wordpress","description":"Compared to other services, MaxCDN is much simpler and easier to set up. It will take you less than 8 minutes if you follow exactly the following steps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/","twitter_misc":{"Written by":"Tuan Do","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/","url":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/","name":"How to Set Up MaxCDN on Wordpress","isPartOf":{"@id":"https:\/\/www.techwalls.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg","datePublished":"2013-12-02T19:29:37+00:00","dateModified":"2014-12-17T17:12:28+00:00","author":{"@id":"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90"},"description":"Compared to other services, MaxCDN is much simpler and easier to set up. It will take you less than 8 minutes if you follow exactly the following steps.","breadcrumb":{"@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#primaryimage","url":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg","contentUrl":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2013\/12\/maxcdn-setup-1.jpg","width":700,"height":907},{"@type":"BreadcrumbList","@id":"https:\/\/www.techwalls.com\/setup-maxcdn-for-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.techwalls.com\/"},{"@type":"ListItem","position":2,"name":"Featured","item":"https:\/\/www.techwalls.com\/featured\/"},{"@type":"ListItem","position":3,"name":"How to Set Up MaxCDN on WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.techwalls.com\/#website","url":"https:\/\/www.techwalls.com\/","name":"TechWalls","description":"Technology News | Gadget Reviews | Tutorials","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.techwalls.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90","name":"Tuan Do","description":"I am the founder and editor of TechWalls technology blog. I have been blogging for 8 years and here you can find latest technology news, gadgets, tutorials and product reviews.","url":"https:\/\/www.techwalls.com\/author\/rickyadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts\/5294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/comments?post=5294"}],"version-history":[{"count":0,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts\/5294\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/media\/5310"}],"wp:attachment":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/media?parent=5294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/categories?post=5294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/tags?post=5294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}