{"id":206,"date":"2015-01-17T22:50:26","date_gmt":"2015-01-17T22:50:26","guid":{"rendered":"http:\/\/128.199.176.160\/?p=206"},"modified":"2025-09-11T17:58:12","modified_gmt":"2025-09-11T12:58:12","slug":"implement-seo-maxcdn","status":"publish","type":"post","link":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/","title":{"rendered":"How to implement SEO with MaxCDN"},"content":{"rendered":"\n<p>I have heard of the term <a href=\"https:\/\/www.cloudflare.com\/learning\/cdn\/what-is-a-cdn\/\"><strong>CDN<\/strong><\/a> or <strong>content delivery network<\/strong> for a long time now and have seen many websites using it, however, I thought that it was complicated to set up after reading several articles online. So I didn\u2019t use any CDN solution up until the beginning of last month. Sounds super crazy, isn\u2019t it? I mean you don\u2019t necessarily need CDN to speed up your WordPress or website. As long as its site is running on some of the best hosting company then you\u2019re good. But it wouldn\u2019t hurt to do some optimizations right?<\/p>\n\n\n\n<p>So I finally set up an account at MaxCDN and got it to work with WordPress in just a few minutes. Several days went by and I notice something changed, Google has stopped indexing images on my blog. Did some searching on Google and landed on one of Brian Jackson\u2019s site called <strong><a href=\"http:\/\/okaymarketing.com\/fix-images-indexing-maxcdn\/\" target=\"_blank\" rel=\"noopener noreferrer\">OkayMarketing<\/a>.<\/strong> I got in touch with him on Twitter and find out that we were facing the same issue. Brian was kind enough to walk me through this and I got Google to start indexing my images again.<\/p>\n\n\n\n<p>From this, I also learned that people might not get this error but another one where <strong>MaxCDN<\/strong> will cause duplicate content because your files are now being hosted on two different URLs. In this article, I will show you how to resolve these problems in the same way.<\/p>\n\n\n\n<p>Let\u2019s go ahead and login into your <strong>MaxCDN control panel<\/strong>. Go to the SEO settings of your pull zone and enable both Canonical Header &amp; Robots.txt. Inside the robot.txt box, you should have something like this. If not, just copy what I have below and paste it into there.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>User-agent: *<br>Allow: \/wp-content\/uploads\/<br>Disallow: \/<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"586\" height=\"301\" src=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2014\/12\/maxcdn-seo-settings.png\" alt=\"maxcdn-seo-settings\" class=\"wp-image-207\" srcset=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2014\/12\/maxcdn-seo-settings.png 586w, https:\/\/wpbrigade.com\/wp-content\/uploads\/2014\/12\/maxcdn-seo-settings-300x154.png 300w\" sizes=\"(max-width: 586px) 100vw, 586px\" \/><\/figure>\n\n\n\n<p>The last step would be changing the image path in your Sitemap file. The majority of us now use Yoast SEO plugin so add this code below in your current theme\u2019s functions.php file.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<div>\n<div>functionwpseo_cdn_filter( $uri) {<\/div>\n<div>returnstr_replace( \u2018http:\/\/yourdomain.com\u2019, \u2018http:\/\/cdn.yourdomain.com\u2019, $uri);<\/div>\n<div>}<\/div>\n<div>add_filter( \u2018wpseo_xml_sitemap_img_src\u2019, \u2018wpseo_cdn_filter\u2019);<\/div>\n<\/div>\n<\/blockquote>\n\n\n\n<div>\n<div>Don\u2019t forget to change <strong>yourdomain.com<\/strong> to your WordPress address and CDN URL. Do a quick cache in <strong>W3 Total Cache<\/strong> or any plugin that you have. Wait for a day or two and everything should go back to its normal mode. Let me know if you have questions.<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I have heard of the term CDN or content delivery network for a long time now and have seen many websites using it, however, I thought that it was complicated to set up after reading several articles online. So I didn&rsquo;t use any CDN solution up until the beginning of last month. Sounds super crazy, [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":307,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_analytify_skip_tracking":false,"footnotes":""},"categories":[53,47,571],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-tips-and-tricks","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to implement SEO with MaxCDN - WPBrigade<\/title>\n<meta name=\"description\" content=\"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to implement SEO with MaxCDN\" \/>\n<meta property=\"og:description\" content=\"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBrigade\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/WPBrigade\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-17T22:50:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-11T12:58:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tan Nguyen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:site\" content=\"@wpbrigade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tan Nguyen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/\"},\"author\":{\"name\":\"Tan Nguyen\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/b70c582e20b472d4d11a336ced0b40da\"},\"headline\":\"How to implement SEO with MaxCDN\",\"datePublished\":\"2015-01-17T22:50:26+00:00\",\"dateModified\":\"2025-09-11T12:58:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/\"},\"wordCount\":413,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/seo-with-maxcdn1.png\",\"articleSection\":[\"How-to\",\"Tips and Tricks\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/\",\"name\":\"How to implement SEO with MaxCDN - WPBrigade\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/seo-with-maxcdn1.png\",\"datePublished\":\"2015-01-17T22:50:26+00:00\",\"dateModified\":\"2025-09-11T12:58:12+00:00\",\"description\":\"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/seo-with-maxcdn1.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/seo-with-maxcdn1.png\",\"width\":350,\"height\":350,\"caption\":\"SEO with maxcdn, maxcdn\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/implement-seo-maxcdn\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbrigade.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to implement SEO with MaxCDN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#website\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"name\":\"WPBrigade\",\"description\":\"WordPress Development Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbrigade.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#organization\",\"name\":\"WPBrigade\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"contentUrl\":\"https:\\\/\\\/wpbrigade.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Screen-Shot-2021-07-02-at-12.42.14-AM.png\",\"width\":271,\"height\":63,\"caption\":\"WPBrigade\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/WPBrigade\",\"https:\\\/\\\/x.com\\\/wpbrigade\",\"https:\\\/\\\/www.instagram.com\\\/wpbrigade.agency\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpbrigade\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Wpbrigade\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpbrigade.com\\\/#\\\/schema\\\/person\\\/b70c582e20b472d4d11a336ced0b40da\",\"name\":\"Tan Nguyen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g\",\"caption\":\"Tan Nguyen\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to implement SEO with MaxCDN - WPBrigade","description":"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.","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:\/\/wpbrigade.com\/implement-seo-maxcdn\/","og_locale":"en_US","og_type":"article","og_title":"How to implement SEO with MaxCDN","og_description":"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.","og_url":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/","og_site_name":"WPBrigade","article_publisher":"https:\/\/facebook.com\/WPBrigade","article_published_time":"2015-01-17T22:50:26+00:00","article_modified_time":"2025-09-11T12:58:12+00:00","og_image":[{"width":350,"height":350,"url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png","type":"image\/png"}],"author":"Tan Nguyen","twitter_card":"summary_large_image","twitter_creator":"@wpbrigade","twitter_site":"@wpbrigade","twitter_misc":{"Written by":"Tan Nguyen","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#article","isPartOf":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/"},"author":{"name":"Tan Nguyen","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/b70c582e20b472d4d11a336ced0b40da"},"headline":"How to implement SEO with MaxCDN","datePublished":"2015-01-17T22:50:26+00:00","dateModified":"2025-09-11T12:58:12+00:00","mainEntityOfPage":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/"},"wordCount":413,"commentCount":2,"publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"image":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png","articleSection":["How-to","Tips and Tricks","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/","url":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/","name":"How to implement SEO with MaxCDN - WPBrigade","isPartOf":{"@id":"https:\/\/wpbrigade.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#primaryimage"},"image":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png","datePublished":"2015-01-17T22:50:26+00:00","dateModified":"2025-09-11T12:58:12+00:00","description":"How to implement SEO with MaxCDN on your WordPress website and how MaxCDN will impact on your WordPress website.","breadcrumb":{"@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbrigade.com\/implement-seo-maxcdn\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#primaryimage","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2015\/01\/seo-with-maxcdn1.png","width":350,"height":350,"caption":"SEO with maxcdn, maxcdn"},{"@type":"BreadcrumbList","@id":"https:\/\/wpbrigade.com\/implement-seo-maxcdn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbrigade.com\/"},{"@type":"ListItem","position":2,"name":"How to implement SEO with MaxCDN"}]},{"@type":"WebSite","@id":"https:\/\/wpbrigade.com\/#website","url":"https:\/\/wpbrigade.com\/","name":"WPBrigade","description":"WordPress Development Agency","publisher":{"@id":"https:\/\/wpbrigade.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbrigade.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpbrigade.com\/#organization","name":"WPBrigade","url":"https:\/\/wpbrigade.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/","url":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","contentUrl":"https:\/\/wpbrigade.com\/wp-content\/uploads\/2021\/07\/Screen-Shot-2021-07-02-at-12.42.14-AM.png","width":271,"height":63,"caption":"WPBrigade"},"image":{"@id":"https:\/\/wpbrigade.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/WPBrigade","https:\/\/x.com\/wpbrigade","https:\/\/www.instagram.com\/wpbrigade.agency\/","https:\/\/www.linkedin.com\/company\/wpbrigade","https:\/\/www.youtube.com\/c\/Wpbrigade"]},{"@type":"Person","@id":"https:\/\/wpbrigade.com\/#\/schema\/person\/b70c582e20b472d4d11a336ced0b40da","name":"Tan Nguyen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6337022c23047f62933e1b524da75aaa1d28015a040d4dad6d10043a16b72cfe?s=96&d=retro&r=g","caption":"Tan Nguyen"}}]}},"_links":{"self":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/comments?post=206"}],"version-history":[{"count":1,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":317506,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/posts\/206\/revisions\/317506"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media\/307"}],"wp:attachment":[{"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpbrigade.com\/wpb-api\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}