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
-
Did We Implement Structured Data Correctly?
Our designer/developer recently implemented structured data on our pages. I'm trying to become more educated on how it works since I'm the SEO marketing specialist on the team and the one that writes and publishes the majority of our content. I'm aware it's extremely important and needs to be done, I just don't know how to do it yet. The developer was on our team for over a year, we recently let him go. Now, I'm going through all the pages to make sure it's done correctly. I'm using the structured data testing tool to look at the pages and have been playing with the structured data markup helper. I would REALLY appreciate it if one of my fellow MOZ fans & family can help me determine if it's done correctly. We do not currently have any schema plugs installed that I know of. So I'm not sure how he implemented the Schema code. I would like to know what I need to do moving forward to the additional content we publish as well as what to do to correctly implement Schema if not already. When I manually look at one of our FAQ pages I see multiple schema data formats detected... I'm not sure if we're supposed to have multiple or just one----> https://www.screencast.com/t/TjHphL7jsI I also noticed in the Question schema data for that same page... the accepted answer is empty. I would image that should have the short version of the answer to the question in it?--->https://www.screencast.com/t/e6ppXkhXd7QS Here's a screenshot of our structured data info from Google search console---> https://www.screencast.com/t/KHj4BGgdrZ4m HELP please! Our website consists of 25-30 "product" pages https://www.medicarefaq.com/medigap/ https://www.medicarefaq.com/medicare-supplement/ https://www.medicarefaq.com/medigap/plan-f/ https://www.medicarefaq.com/medicare-supplement/plan-f/ We currently have about 75 FAQ pages and adding 4-6 per month. This is what brings in most our traffic. https://www.medicarefaq.com/faqs/2018-top-medicare-supplement-insurance-plans/ https://www.medicarefaq.com/faqs/2018-medicare-high-deductible-plan-f-changes https://www.medicarefaq.com/faqs/medicare-guaranteed-issue-rights We have 100 state specific pages (two for each state) https://www.medicarefaq.com/medicare-supplement/florida/ https://www.medicarefaq.com/medigap/florida/ https://www.medicarefaq.com/medicare-supplement/California/ https://www.medicarefaq.com/medigap/California/ We have 20ish carrier specific pages https://www.medicarefaq.com/medicare-supplement/humana/ https://www.medicarefaq.com/medicare-supplement/mutual-of-omaha/ Then we have about 30 blog pages so far and are publishing new blog posts weekly https://www.medicarefaq.com/blog/average-age-retirement-rising/ https://www.medicarefaq.com/blog/social-security-benefit-increase-announced-2018 https://www.medicarefaq.com/blog/new-california-bill-force-drugmakers-explain-price-hikes
Intermediate & Advanced SEO | | LindsayE0 -
If my website uses CDN does thousands of 301 redirect can harm the website performance?
Hi, If my website uses CDN does thousands of 301 redirect can harm the website performance? Thanks Roy
Intermediate & Advanced SEO | | kadut1 -
Should I run 302 first before implementing 301?
I just want to ask if it is necessary to run 302 redirections first before redirecting old to new URLs permanently. I heard that we should run temporary redirects first so we can check after and to avoid passing the link juice but I want to hear thoughts from experts. Do i need to test 302s for old pages that are still live or should we redirect old URLs once these pages already removed from the site?
Intermediate & Advanced SEO | | esiow20130 -
Google & Bing not indexing a Joomla Site properly....
Can someone explain the following to me please. The background: I launched a new website - new domain with no history. I added the domain to my Bing webmaster tools account, verified the domain and submitted the XML sitemap at the same time. I added the domain to my Google analytics account and link webmaster tools and verified the domain - I was NOT asked to submit the sitemap or anything. The site has only 10 pages. The situation: The site shows up in bing when I search using site:www.domain.com - Pages indexed:- 1 (the home page) The site shows up in google when I search using site:www.domain.com - Pages indexed:- 30 Please note Google found 30 pages - the sitemap and site only has 10 pages - I have found out due to the way the site has been built that there are "hidden" pages i.e. A page displaying half of a page as it is made up using element in Joomla. My questions:- 1. Why does Bing find 1 page and Google find 30 - surely Bing should at least find the 10 pages of the site as it has the sitemap? (I suspect I know the answer but I want other peoples input). 2. Why does Google find these hidden elements - Whats the best way to sort this - controllnig the htaccess or robots.txt OR have the programmer look into how Joomla works more to stop this happening. 3. Any Joomla experts out there had the same experience with "hidden" pages showing when you type site:www.domain.com into Google. I will look forward to your input! 🙂
Intermediate & Advanced SEO | | JohnW-UK0 -
What is the proper syntax for rel="canonical" ??
I believe the proper syntax is like this [taken from the SEOMoz homepage]: However, one of the sites I am working on has all of their canonical tags set up like this: I should clarify, not all of their canonicals are identical to this one, they simply use this naming convention, which appears to be relative URLs instead of absolute. Doesn't the entire URL need to be in the tag? If that is correct, can you also provide me with an explanation that I can give to management please? They hate it when I say "Because I said so!" LOL
Intermediate & Advanced SEO | | danatanseo0 -
How do I implement SSL correctly without losing rank?
I need to add SSL to our site in some capacity - either entirely, or just on specific pages (form pages, for example.) How do I implement this properly so as not to lose rank?
Intermediate & Advanced SEO | | Ocularis0 -
Rel Alternate tag and canonical tag implementation question
Hello, I have a question about the correct way to implement the canoncial and alternate tags for a site supporting multiple languages and markets. Here's our setup. We have 3 sites, each serving a specific region, and each available in 3 languages. www.example.com : serves the US, default language is English www.example.ca : serves Canada, default language is English www.example.com.mx : serves Mexico, default language is Spanish In addition, each sites can be viewed in English, French or Spanish, by adding a language specific sub-directory prefix ( /fr , /en, /es). The implementation of the alternate tag is fairly straightforward. For the homepage, on www.example.com, it would be: -MX” href=“http://www.example.com.mx/index.html” /> -MX” href=”http://www.example.com.mx/fr/index.html“ />
Intermediate & Advanced SEO | | Amiee
-MX” href=”http://www.example.com.mx/en/index.html“ />
-US” href=”http://www.example.com/fr/index.html” />
-US” href=”http://www.example.com/es/index.html“ />
-CA” href=”http://www.example.ca/fr/index.html” />
-CA” href=”http://www.example.ca/index.html” />
-CA” href=”http://www.example.ca/es/index.html” /> My question is about the implementation of the canonical tag. Currently, each domain has its own canonical tag, as follows: rel="canonical" href="http://www.example.com/index.html"> <link rel="canonical" href="http: www.example.ca="" index.html"=""></link rel="canonical" href="http:>
<link rel="canonical" href="http: www.example.com.mx="" index.html"=""></link rel="canonical" href="http:> I am now wondering is I should set the canonical tag for all my domains to: <link rel="canonical" href="http: www.example.com="" index.html"=""></link rel="canonical" href="http:> This is what seems to be suggested on this example from the Google help center. http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077 What do you think?0 -
What tips do people have for implementing SEO strategies for large websites?
Hi, I would like some tips on how to manage SEO on Large sites with limited. For example, I have a client with a large Ecommerce store that wants to rank high for every product and every category. Obviosly every page has to be keyword optimised, but what is the best strategy for acquiring links and should we target all deep pages or just the home page and category pages, then use good internal linking to pass the link juice around? All advice welcome! thanks
Intermediate & Advanced SEO | | websearchseo0