undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    Let your business shine with Listings AI
    Moz Local

    Let your business shine with Listings AI

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Reporting & Analytics
  4. SEO dealing with a CDN on a site.

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

SEO dealing with a CDN on a site.

Reporting & Analytics
6
20
4.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • LesleyPaone
    LesleyPaone last edited by May 13, 2015, 1:06 AM

    This one is stumping me and I need some help. I have a client who's site is www.site.com and we have set them up a CDN through Max CDN at cdn.site.com which is basically a cname to the www.site.com site. The images in the GWT for www.site.com are de-indexing rapidly and the images on cdn.site.com are not indexing.  In the Max CDN account I have the images from cdn.site.com sending a canonical header from www.site.com but that does not seem to help, they are all still de-indexing.

    1 Reply Last reply Reply Quote 0
    • Everett
      Everett @LesleyPaone last edited by May 27, 2015, 7:55 PM May 27, 2015, 7:55 PM

      In my experience Google does a pretty good job of applying the rankings to the CDN version of the image if you follow those best practices.

      Good luck!

      1 Reply Last reply Reply Quote 0
      • LesleyPaone
        LesleyPaone @Carson-Ward last edited by May 22, 2015, 9:15 PM May 22, 2015, 9:15 PM

        They were being de-indexed until I did this, http://moz.com/community/q/would-this-be-considered-cloaking-and-would-it-be-a-bad-move

        The images are not dynamic at all, they have static urls. The only thing that was being changes was the sub domain from www to cdn. When that happened the images started to de-index on the www sub domain, even though the cdn sub domain image had a canonical header pointing back to the www domain. You are welcome to check it out in action, the site is https://www.redwrappings.com.au/

        1 Reply Last reply Reply Quote 0
        • Carson-Ward
          Carson-Ward @LesleyPaone last edited by May 22, 2015, 8:44 PM May 22, 2015, 8:44 PM

          Very odd, then, that they're being removed from the index. Do you think it's possible that the images have different URLs depending on which server they're cached on? That could definitely do it. I'd have a friend across the country pull them up and see if the image URL changes.

          I'm assuming  that the image has some dynamic characters on it, which is pretty common with CDNs under certain configurations. Unfortunately, I've never used MaxCDN. If the image is just cdn.site.com/image.png - I'm afraid I have absolutely no idea why they wouldn't be re-indexed. I have similar CDN images that pull in fine.

          LesleyPaone 1 Reply Last reply May 22, 2015, 9:15 PM Reply Quote 0
          • LesleyPaone
            LesleyPaone @Everett last edited by May 22, 2015, 8:40 PM May 22, 2015, 8:40 PM

            That article touches on a lot of the issues. Here are my thoughts and you can tell me if I am incorrect in my thinking. For a couple of years the images have been on the www part of the domain, now they are on a CDN sub directory. I was trying to keep them indexed under the www part of domain so that they would keep the authority of the domain. My thoughts were if they are de-indexed under the www and re-indexed under the cdn they would have to climb their way back in the image search rankings. Basically that is what I was trying to avoid.

            Everett 1 Reply Last reply May 27, 2015, 7:55 PM Reply Quote 0
            • LesleyPaone
              LesleyPaone @Carson-Ward last edited by May 22, 2015, 8:29 PM May 22, 2015, 8:29 PM

              They are static. It is a passthrough CDN that basically strips off the www of the image url and replaces it with cdn.

              Carson-Ward 1 Reply Last reply May 22, 2015, 8:44 PM Reply Quote 0
              • Everett
                Everett last edited by May 22, 2015, 8:26 PM May 22, 2015, 8:26 PM

                Hello Lesley,

                Here is an article that may help, or provide some links to other resources at the bottom: Four Best Practices for Using a CDN .

                Are you keeping the same filenames or do those change?

                What is in the robots.txt file on the CDN?

                Have you set up and verified the CDN in Google Webmaster Tools? If so, have you submitted an XML Sitemap?

                LesleyPaone 1 Reply Last reply May 22, 2015, 8:40 PM Reply Quote 0
                • Carson-Ward
                  Carson-Ward last edited by May 22, 2015, 7:54 PM May 22, 2015, 7:54 PM

                  Hi there,

                  Could you tell me whether the URLs on your images are static on the CDN sub-domain? Or do they change regularly?

                  LesleyPaone 1 Reply Last reply May 22, 2015, 8:29 PM Reply Quote 0
                  • LesleyPaone
                    LesleyPaone @Christy-Correll last edited by May 22, 2015, 7:28 PM May 22, 2015, 7:28 PM

                    Christy,

                    Sure thing, this is what is in place now, http://moz.com/community/q/would-this-be-considered-cloaking-and-would-it-be-a-bad-move

                    1 Reply Last reply Reply Quote 0
                    • Christy-Correll
                      Christy-Correll Staff last edited by May 22, 2015, 7:24 PM May 22, 2015, 7:24 PM

                      Thanks for the update, Lesley. I'm sorry to hear that you haven't found a solution you're happy with. Let me see if any of the other Associates can help you troubleshoot this. In the meantime, are you able to to share the details of your workaround?

                      Christy 🙂

                      LesleyPaone 1 Reply Last reply May 22, 2015, 7:28 PM Reply Quote 0
                      • LesleyPaone
                        LesleyPaone @Christy-Correll last edited by May 21, 2015, 6:03 PM May 21, 2015, 6:03 PM

                        None of the answers really applied. I did a work around that I am not too happy with at the current time.

                        1 Reply Last reply Reply Quote 0
                        • Christy-Correll
                          Christy-Correll Staff last edited by May 21, 2015, 5:59 PM May 21, 2015, 5:59 PM

                          Hi Lesley, what is the current status of this issue? Were you able to resolve it, or are you still having problems? We'd love an update, thanks!

                          Christy 🙂

                          LesleyPaone 1 Reply Last reply May 21, 2015, 6:03 PM Reply Quote 0
                          • topic:timeago_earlier,8 days
                          • LesleyPaone
                            LesleyPaone @calvinfab last edited by May 13, 2015, 11:16 AM May 13, 2015, 11:16 AM

                            I have not actually set up the robots.txt in maxcdn. But the cdn is not indexing, which is what I am wanting, doing the site: search for the cdn shows no results. For the main site though the images are falling out of the index, even though there is a site map for them and they are still accessible from their normal url.

                            1 Reply Last reply Reply Quote 0
                            • LesleyPaone
                              LesleyPaone @TheWebMastercom last edited by May 13, 2015, 11:14 AM May 13, 2015, 11:14 AM

                              I am not using Wordpress, the site is using PrestaShop, so it does not have those plugins.

                              This is how it is set up.

                              cdn.site.com is a cname of www.site.com so images are accessible from www.site.com/image.jpg and cdn.site.com/image.jpg but when they are served from the cdn.site.com/image.jpg they have the canonical header that points to www.site.com/image.jpg I cannot understand why that would de-index all of the images on www.site.com though

                              1 Reply Last reply Reply Quote 0
                              • TheWebMastercom
                                TheWebMastercom last edited by May 13, 2015, 10:33 AM May 13, 2015, 10:28 AM

                                I had this problem.

                                Are you using W3 Total Cache... if so you should activate the Yoast SEO extension (presumably you use Yoast, and their sitemaps). You will find it at Performance -> Extensions in the W3 Total Cache admin area.

                                In addition, with the robots file in Maxcdn you should have something like:

                                User-agent: *
                                Disallow:/
                                Allow: /wp-content/
                                Allow: /wp-includes/

                                You will find this under the SEO settings of your Pull zone in MaxCDN.  Make sure you have robots & canonical header ticked as well.

                                The W3 Total cache extension will sort all the sitemap problems with pointing to the right URL and canonical.  There is no need to do anything manually as some of the articles suggest.

                                LesleyPaone 1 Reply Last reply May 13, 2015, 11:14 AM Reply Quote 0
                                • calvinfab
                                  calvinfab @LesleyPaone last edited by May 13, 2015, 3:46 AM May 13, 2015, 3:46 AM

                                  I have no problem helping you look into this. I can play with it more tomorrow morning. I have a few more questions though. Did you setup the robots.txt in MaxCDN to point to the origin directory of the images? What happens when you search site:cdn.domain.com or site:www.domain.com in Google?

                                  There are a few ideas that I have into why this is happening but I would like to test them prior to posting.

                                  LesleyPaone 1 Reply Last reply May 13, 2015, 11:16 AM Reply Quote 0
                                  • LesleyPaone
                                    LesleyPaone @calvinfab last edited by May 13, 2015, 3:31 AM May 13, 2015, 3:31 AM

                                    It is a pull zone.

                                    calvinfab 1 Reply Last reply May 13, 2015, 3:46 AM Reply Quote 0
                                    • calvinfab
                                      calvinfab @LesleyPaone last edited by May 13, 2015, 3:27 AM May 13, 2015, 3:27 AM

                                      Are you currently using a "Pull" or "Push" zone on MaxCDN?

                                      LesleyPaone 1 Reply Last reply May 13, 2015, 3:31 AM Reply Quote 0
                                      • LesleyPaone
                                        LesleyPaone @calvinfab last edited by May 13, 2015, 3:08 AM May 13, 2015, 3:08 AM

                                        That is actually what has been done, I have seen the article before. But there are two issues, one they are not indexing and it has been a couple of weeks. But the more major issue to me is that using the cdn url none of the link juice from the main domain is being passed to the cdn sub domain. I am trying to figure out why Google is not respecting the canonical header for the images. It would seem to me, that according to what Matt Cutts says that it would. But it is not.

                                        calvinfab 1 Reply Last reply May 13, 2015, 3:27 AM Reply Quote 0
                                        • calvinfab
                                          calvinfab last edited by May 13, 2015, 2:58 AM May 13, 2015, 2:58 AM

                                          I have had this issue in past as well when working with MaxCDN. I was able to apply a fix using some of the methods in this article to fix the issue. 

                                          LesleyPaone 1 Reply Last reply May 13, 2015, 3:08 AM Reply Quote 0
                                          • 1 / 1
                                          1 out of 20
                                          • First post
                                            1/20
                                            Last post

                                          Got a burning SEO question?

                                          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                                          Start my free trial


                                          Browse Questions

                                          Explore more categories

                                          • Moz Tools

                                            Chat with the community about the Moz tools.

                                          • SEO Tactics

                                            Discuss the SEO process with fellow marketers

                                          • Community

                                            Discuss industry events, jobs, and news!

                                          • Digital Marketing

                                            Chat about tactics outside of SEO

                                          • Research & Trends

                                            Dive into research and trends in the search industry.

                                          • Support

                                            Connect on product support and feature requests.

                                          • See all categories

                                          Related Questions

                                          • Bigbrand

                                            What are best SEO plugins for wordpress?

                                            Hi, I hope you are doing well. I want to know what are the best SEO plugins for  wordpress website? https://www.myqurantutor.com/

                                            Reporting & Analytics | Apr 5, 2024, 7:03 PM | Bigbrand
                                            0
                                          • jacob.young.cricut

                                            Should Google Trends Match Organic Traffic to My Site?

                                            When looking at Google Trends and my Organic Traffic (using GA) as percentages of their total yearly values I have a correlation of .47. This correlation doesn't seem right when you consider that Google Trends (which is showing relative search traffic data) should match up pretty strongly to your Organic Traffic. Any thoughts on what might be going on? Why isn't Google Trends correlating with Organic Traffic? Shouldn't they be pulling from the same data set? Thanks, Jacob

                                            Reporting & Analytics | Jul 15, 2016, 5:21 PM | jacob.young.cricut
                                            0
                                          • raghuvinder

                                            Www.googleadservices.com/pagead/conversion_async.js what is this url doing on my site?

                                            Hello Guys, I am using google tagmanager and i have configured adwords in tag manager now what i find is that this link - www.googleadservices.com/pagead/conversion_async.js showing on my homepage not in view source but when i do inspect element at that time it appears. So do you think after using google tag manager still i need to use the given link? Thanks, Raghu

                                            Reporting & Analytics | Jun 18, 2015, 6:53 PM | raghuvinder
                                            0
                                          • carl_daedricdigital

                                            Getting google impressions for a site not in the index...

                                            Hi all Wondering if i could pick the brains of those wise than myself... my client has an https website with tons of pages indexed and all ranking well, however somehow they managed to also set their server up so that non https versions of the pages were getting indexed and thus we had the same page indexed twice in the engine but on slightly different urls (it uses a cms so all the internal links are relative too). The non https is mainly used as a dev testing environment. Upon seeing this we did a google remove request in WMT, and added noindex in the robots and that saw the index pages drop over night. See image 1. However, the site still appears to getting return for a couple of 100 searches a day! The main site gets about 25,000 impressions so it's way down but i'm puzzled as to how a site which has been blocked can appear for that many searches and if we are still liable for duplicate content issues. Any thoughts are most welcome. Sorry, I am unable to share the site name i'm afraid. Client is very strict on this. Thanks, Carl image1.png

                                            Reporting & Analytics | Aug 15, 2014, 10:19 AM | carl_daedricdigital
                                            0
                                          • Marc-FIMA

                                            Does a Manual Penalty Affect Other Sites in Same GA Account

                                            Hello Mozzers, I was a bit foolish a couple of years back when first getting into the game, and employed a dodgy agency to do some SEO for me on some sites. Fast forward to this year, and the two sites in my Google Analytics account have been hit with a manual penalty.  I decided to ditch the websites and move on, so removed them from my GA account, webmaster tools etc and will simply let them die a death. My question is, do you think this would affect how easy it would be to rank other websites within my GA account?  Does anybody have any views on this? Thanks!

                                            Reporting & Analytics | Oct 4, 2013, 5:10 AM | Marc-FIMA
                                            0
                                          • RobertFisher

                                            Has anyone attended or hired anyone from Full Sail University? Or schools offering Internet Marketing or SEO

                                            We are actively looking for a couple of positions. A qualified SEM (for PPC, etc) pro that has experience with Google but also others including BING and Yahoo. And a good SEO person who gets it is about delivering a result and not blowing sunshine up someone's skirt or pant leg. 
                                            That said I got a resume the other day from a guy and he stated he had a Master's Certificate in Internet Marketing from Full Sail University. I looked them up and they offer a Bachelors Degree and a Masters Degree in Internet Marketing. They also offer a certificate in Internet marketing they call a Master's certificate. So, I set a time for him to call me as I was mildly skeptical. 
                                            When I started asking about the certificate (His LinkedIn page had Masters Degree in IM) he said he had taken the certificate and I did not pursue the LinkedIn. I asked how long he was in school for the certificate and he stated 6 months (curriculum is 4 months and is fairly t h i n.
                                            I asked what he had done and he had completed an Internship with a Texas company and helped a construction firm move to page one. When I asked how he started telling me about inserting keywords in the meta tag field in the CMS..... He did not know what a title tag was, knew nothing of content, H1, H2, Local Optimization and then wanted to tell me how when you put their Domain name in google they are number two on page One.  So you get it, I believe. I am just really frustrated with the whole "certification" etc. thing and believe we do need it. Market Motive is as close to good as I can see, but I would love to hear from you. (Note on MM- I do not like the if you pay monthly you get Provider or whatever but it you shell out $3500 you are a Master. Just doesn't feel right to me. And, I did speak with someone a while back with a masters from them and again, I scratched my head). Would just like to hear of your experience and if anyone has hired from these schools with success.

                                            Reporting & Analytics | Sep 5, 2012, 2:07 PM | RobertFisher
                                            0
                                          • daracreative

                                            Setting Up Google Analytic with Sub Folder Sites

                                            What is the best way of setting up Google Analytic for a website that has many sub folders? The main site is example.com and it has 40 sub folder sites like example.com/uk example.com/France etc etc Would it be advised to track a single domain in Google Analytic then create filters for the sub folder sites. Filters > Include traffic from > Sub directories Also with this method is it possible to view overall incoming website stats for everything? Previous experience would be great with this thanks 🙂

                                            Reporting & Analytics | Apr 2, 2012, 8:43 PM | daracreative
                                            0
                                          • TheOceanAgency

                                            Should you get a new Google Analytics account if your site has a new domain after a site redesign/new development?

                                            We recently developed a new site for a client and they have opted to move forward with a domain change.  Should we create a new Google Analytics account for the new site?

                                            Reporting & Analytics | Nov 23, 2011, 12:34 PM | TheOceanAgency
                                            0

                                          Get started with Moz Pro!

                                          Unlock the power of advanced SEO tools and data-driven insights.

                                          Start my free trial
                                          Products
                                          • Moz Pro
                                          • Moz Local
                                          • Moz API
                                          • Moz Data
                                          • STAT
                                          • Product Updates
                                          Moz Solutions
                                          • SMB Solutions
                                          • Agency Solutions
                                          • Enterprise Solutions
                                          • Digital Marketers
                                          Free SEO Tools
                                          • Domain Authority Checker
                                          • Link Explorer
                                          • Keyword Explorer
                                          • Competitive Research
                                          • Brand Authority Checker
                                          • Local Citation Checker
                                          • MozBar Extension
                                          • MozCast
                                          Resources
                                          • Blog
                                          • SEO Learning Center
                                          • Help Hub
                                          • Beginner's Guide to SEO
                                          • How-to Guides
                                          • Moz Academy
                                          • API Docs
                                          About Moz
                                          • About
                                          • Team
                                          • Careers
                                          • Contact
                                          Why Moz
                                          • Case Studies
                                          • Testimonials
                                          Get Involved
                                          • Become an Affiliate
                                          • MozCon
                                          • Webinars
                                          • Practical Marketer Series
                                          • MozPod
                                          Connect with us

                                          Contact the Help team

                                          Join our newsletter
                                          Moz logo
                                          © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                          • Accessibility
                                          • Terms of Use
                                          • Privacy

                                          Looks like your connection to Moz was lost, please wait while we try to reconnect.