How was cdn.seomoz.org configured?
-
The SEOmoz CDN appears to have a "pull zone" that is set to the root of the domain, such that any static file can be addressed from either subdomain:
http://www.seomoz.org/q/moz_nav_assets/images/logo.png
http://cdn.seomoz.org/q/moz_nav_assets/images/logo.png
The risk of this configuration is that web pages (not just images/CSS/JS) also get cached and served by the CDN. I won't put the URL here for fear of Google indexing it, but if you replace the 'www' in the URL below with 'cdn', you'll see a cached copy of the original:
http://www.seomoz.org/ugc/the-greatest-attribution-ever-graphed
The worst-case scenario is that the homepage gets indexed. But this doesn't happen here:
That URL issues a 301 redirect back to the canonical www subdomain. As it should.
Here's my question: how was that done?
Because maxcdn.com can't do it. If you set a "pull zone" to your entire domain, they'll cache your homepage and everything else. googlebot has a field day with that; it will reindex your entire site off the CDN.
Maybe the SEOmoz CDN provider (CloudFront) allows specific URLs to be blocked? Or do you detect the CloudFront IPs and serve them a 301 (which they'd proxy out to anyone requesting cdn.seomoz.org)?
One solution is to create a pull zone that points to a folder, like example.com/images... but this doesn't help a complex site that has cacheable content in multiple places (do you Wordpress users really store ALL your static content under /wp-content/ ?).
Or, as suggested above, dynamically detect requests from the CDN's proxy servers, and give them a 301 for any HTML-page request. This gets complex quickly, and is both prone to breakage and very difficult to regression-test.
Properly retrofitting a complex site to use a CDN, without creating a half-dozen new CDN subdomains, does not appear to be easy.
-
its a SEOmoz secret...
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
-
Schema.org for Hotels
Good morning, I have a question about how to use Schema.org on a hotel website. Since a website will have many pages, do I add the microdata for the hotel's address, contact info, ratings, reviews, etc on every page as that information is in the footer of each page or do I just add to the homepage once? Thanks in advance
Intermediate & Advanced SEO | | mulch0 -
Schema.org wrong display in SERP
Hi, and happy new year! I tagged our new platform with schema.org: website+application software. There's also "reviews". Those reviews use datepublished microdata. However it seems that this info is used as a date for the page... Search for "logiciel cesar" with Google.fr, and the page is https://www.caplogiciel.com/logiciel/cesar
Intermediate & Advanced SEO | | 2MSens
Here's a screenshot of the result: https://www.evernote.com/l/AN29vPn0PFNJdINZtA9QU6x_tmoq99c8D3A What did I do wrong? I checked other websites which are well displayed on Google and they use the same microdata... Thanks. Best, Benoit.0 -
How do I get rid of my errors for Schema.org?
I put the Schema.org data on my item pages and it works great. However, when an item closes it removes the price. It showed an empty price and that causes an error. The site is now programmed to where if an item closes it removes the price component. This was done about 2 weeks ago and it is still showing a lot of errors. Any ideas?
Intermediate & Advanced SEO | | EcommerceSite0 -
National Consulting Firm Home Based Business - And Filling Out The GetListed.org Listings
I have mainly focused on SEO for local businesses and one of the 1st steps after optimizing my on page SEO I would attempt to claim all my free listings as those on GetListed.org. But this client is focusing on a more national market and lists an 800 number on his website. Should I suggest he display his local number also. And when I reference his phone number on the Get Listed.org opportunities should I also use his local number? Thanks
Intermediate & Advanced SEO | | ChadEisenhart0 -
SEOMoz and Facebook Graph Search
Are SEOMoz looking to integrate Facebook Graph Search (the web search section) into the product? At the moment we can measure and track rankings for Google, Bing/Yahoo, but not Facebook graph search. What are the general thoughts among the community? Do you think it will be adopted as a real search engine? I'm not overly concerned - I reckon it will take a lot to change people behaviour and have them moving away from the other search engines. It's throwing up some interesting results though in searches!
Intermediate & Advanced SEO | | littlesthobo0 -
SEOMoz Paid Directories List.... Are paid links always bad?
We all know paid links are bad.... so it begs the question.... why does the SEOMoz directory list have so many directories that only submit businesses for a fee.... i.e. a paid link. Are they worth paying for or not? Interested to hear peoples thoughts and experiences with some of the directories listed on the SEOMoz directory list....
Intermediate & Advanced SEO | | JohnW-UK0 -
Where is the SEOmoz search operator guide?
It was available on this URL: http://www.seomoz.org/article/the-professionals-guide-to-advanced-search-operators but I can't seem to find it anymore. Anyone know where it is?
Intermediate & Advanced SEO | | Chuck-Boom0 -
SEOMoz Link Directory - As Silly as I think it is?
Don't get me wrong, I LOVE LOVE LOVE SEOmoz, but their "Link Directory" (www.seomoz.org/directories) is a bit deceiving. I was looking for a list of DIRECTORIES that Moz recommends, not a bunch of places where you can pay for advertising. On top of that, it also lists dmoz as one of the spots to get links from, but have you ever actually ever been able to get a link from dmoz? I know I haven't, and we've been trying to get a link for years. Anyone else disappointed in this list? Does anyone have a good list of directories? -Andy P.S. I love you SEOmoz! Don't hate me for this critique!
Intermediate & Advanced SEO | | alhallinan1