Proper CDN Implementation
-
I am working with a site that is using the Cloudflare CDN to deliver their images. The problem is that the URLs for the images are all cloudflare URLs (cloudflare.com/example-filename.png). We want to use a cname to change the image URLs to be on a subdomain of their site to take advantage of the SEO strength.
Currently, they get a high percentage of traffic from image search and Google is directing users to their site when returning images hosted on Cloudflare, so I am apprehensive about making changes. I'm curious if anyone has any experience with this or has any insight on how Google will handle it.
Will the longer term benefits out way any short term drop in traffic from image search? WIll there be a drop in image search?
Any thoughts or experiences are appreciated.
Thanks in advance.
-
Hi Lisa
This is interesting.
As far as I can tell, everything is configured 100% correctly.
Few questions:
1. Do you keep all images in /sites/default/files/?
Were all (most) of your errors related to items using that path?2. This could be a downtime issue. Did you experience any availability problems?
3. Do you see any changes in the error report? (different results for the same URL)
If so, this makes my downtime theory more plausible.Also, the site loaded VERY slowly for me.
I've run Google Page speed and saw that you have issue with Cache headers (low expiration date that makes it harder to leverage local and CDN caching capabilities)
This should be looked at. Beyond the immediate ux and seo implications, this can contribute to server load and can be have a negative effect on website's availability. (i.e. the above mentioned downtime)
Best
Igal
-
Igal-
Related question. We just moved to a CDN for our images. Our site is www.mnn.com and our CDN is http://images.mnn.com/. The only thing we’re allowing Google to crawl are the images, so we shouldn’t have any duplicate content issues.
However, what I AM seeing is several thousand warnings in Google Webmaster Tools for our video sitemap. Our video sitemap contains about 618 videos, but we have 2,472 errors citing “Sitemap contains urls which are blocked by robots.txt” which I believe is related to the video icons in search.
When I look for a video in Google, I still see our icons related. I can’t seem to figure this one out.
Any thoughts?
Lisa
-
I`ve recently covered this in a blog post about SEO & CDN Myth busting. The short answer is "No", as Google is well aware of CDN structures.
I think the image traffic drop is un-related and it may have something to do with Bot Blocking features that prevent access from Google Image bot (which, as we recently discovered, can use non-US IPs and thus may also be considered as "fake" ).Having said that, Google official statement says that speed factors only affect 1% of SERP results. If your image traffic is high or/and valuable I would re-think this.
-
The typical way of doing this is to setup a subdomain, specifically for the content that is going to be served from a CDN, and then use a CNAME to map the ugly CDN url to the clean subdomain that you setup. I've only done this with Rackspace and AWS. If you want a good description of how this is done on AWS, see this link:
http://www.labnol.org/internet/setup-content-delivery-network-with-amazon-s3-cloudfront/5446/
Apparently, cloudflare has a way to map your website url to the CDN, as long as you're hosting with a cloud server system that they support. I haven't tried this before, but it might actually be a cleaner way of doing this, if you're hosting setup supports it.
http://blog.cloudflare.com/zone-apex-naked-domain-root-domain-cname-supp
It sounds like this would be a big win for your client, as they get a large percentage of traffic from image traffic. Using a CDN service is going to improve the speed of loading images and reduce their bandwidth bill, and mapping the CNAME should give their domain the credit for being the source of the image.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
How to implement geo-target or hreflang a (1) website to different Asian countries?
Hi ! I have an english website targeting Asia market. Whats the proper way to implement the geo target /hreflang code that will target the entire ASIA region? I saw some suggestions to do this way (below sample) .. However, we know ASIA has a lot of countries. Is this the best practice for SEO? If this is, then do I really need to list down all the countries under Asia? Is there a better way to do this? KOREA -- :
Intermediate & Advanced SEO | | jasmin.calunsag
CHINA ---: etc... I would appreciate your comments and ideas. Thanks!0 -
Just moved to CDN and site dropped in Google
Hi there, I have been modifying a clients site for months now trying to get higher up in Google for the term "wedding dresses essex" on the website https://www.preciousmomentsbridalwear.co.uk/ It's always ranked around 7th / 8th place and we want to try and get it into 4/5th position ideally. I have optimised pages and then due to the site speed not being that great we moved it to MaxCDN this week which has made the site much faster, but now we have dropped to number 10 in Google and in danger of dropping out of the first page. I was hoping that making the site much faster for desktop and mobile would help not hinder! Any help would be appreciated! Simon
Intermediate & Advanced SEO | | Doublestruck0 -
HTTPS - implementation question
Hello, I am looking at a site on which they haven't 301'd http to https, so each URL is there whether you have http or https at the beginning. Why would a site owner not 301 to https? Is there any logical reason not to use 301? This particular website is simply using a canonical tag to point to the https version of each URL.
Intermediate & Advanced SEO | | McTaggart0 -
Help With Href Lang Implementation
Hi, We've received the following Href Lang errors in Google Search Console. After much research and playing around with the tags we're still no closer to fixing the issues. ERRORS; http://prntscr.com/du8ei8 AND http://prntscr.com/du8evi As you'll see, Google is telling us that some URLs do not have return tags, but they do seem to! Does anyone know of a pro that can provide a service to fix this for us? Many thanks in advance, Lee.
Intermediate & Advanced SEO | | Webpresence0 -
How to properly 404 pages from a subdomain
SO I am working on a site that had a subdomain that attracted a lot of spammy links. I researched the backlinks to this subdomain, and there were no beneficial links at all. I am thinking the best thing is to 404 this subdomain. What is the best way to do this? Should I just edit the DNS settings so that this subdomain does not point to the root domain? Or is there something that should be done in webmaster tools? Thanks in advance!
Intermediate & Advanced SEO | | evan890 -
Website not coming up properly on Google
Hello, our website (http://www.roguevalleymicro.com/index.php) is not coming up properly on Google search (for example, when you search for Rogue Valley Microdevices on Google). We believe that there is something wrong with the website source code, and Google cannot index it properly. However, your Crawl Test results did not indicate any such problems. Can someone help us with some advice please?
Intermediate & Advanced SEO | | medved441 -
Pitfalls when implementing the “VARY User-Agent” server response
We serve up different desktop/mobile optimized html on the same URL, based on a visitor’s device type. While Google continue to recommend the HTTP Vary: User-Agent header for mobile specific versions of the page (http://www.youtube.com/watch?v=va6qtaiZRHg), we’re also aware of issues raised around CDN caching; http://searchengineland.com/mobile-site-configuration-the-varies-header-for-enterprise-seo-163004 / http://searchenginewatch.com/article/2249533/How-Googles-Mobile-Best-Practices-Can-Slow-Your-Site-Down / http://orcaman.blogspot.com/2013/08/cdn-caching-problems-vary-user-agent.html As this is primarily for Google's benefit, it's been proposed that we only returning the Vary: User-Agent header when a Google user agent is detected (Googlebot/MobileBot/AdBot). So here's the thing: as the server header response is not “content” per se I think this could be an okay solution, though wanted to throw it out there to the esteemed Moz community and get some additional feedback. You guys see any issues/problems with implementing this solution? Cheers! linklater
Intermediate & Advanced SEO | | linklater0 -
How to properly link network of microsites and main sites?
Law firm has a main brand site (lawfirmname.com) with lots of content focusing on personal injury related areas of law. They also do other unrelated areas of law such as bankruptcy and divorce. They have a separate website for bankruptcy and a separate one for divorce. These websites have good quality content, a backlinking campaign, and are fairly large websites, with landing pages for different cities. They also have created local microsites in the areas of bankruptcy and divorce that target specific smaller cities that the main bankruptcy site and divorce site do not target well. These microsites have a good deal of original content and the content is mostly specific to the city the website is about, and virtually no backlinks. There are about 15 microsites for cities in bankruptcy and 10 in divorce and they rank pretty well for these city specific local searches. None of these sites are linked at all, and all 28 of the sites are under the same hosting account (all are subdomains of root domain of hosting account). Question, should I link these sites together at all and if so how? I considered making a simple and general page on the lawfirmname.com personal injury site for bankruptcy and divorce (lawfirmname.com/bankruptcy and lawfirmname.com/divorce) and then saying on the page something to the effect of "for more information on bankruptcy go to our main bankruptcy site at ....." and putting the link to the main bankruptcy site. Same for divorce. This way users can go to lawfirmname.com site and find Other Practice Areas, go to bankruptcy page, and link to main bankruptcy site. Is this the best way to link to these two main sites for bankruptcy and divorce or should I be linking upward? Secondly, should I link the city specific microsites to any of the other sites or leave them completely separate? Thirdly, should all of these sites be hosted on the same account or is this something that should be changed? I was considering not linking the city specific sites at all, but if I did this I didn't know if I should create different hosting accounts for them (which could be expensive). The sites work well in themselves without being linked, but wanted to try to network them in some way if possible without getting penalized or causing any issues with the search engines. Any help would be appreciated on how to network and host all of these websites.
Intermediate & Advanced SEO | | broca777110