The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Images on sub domain fed from CDN

    Images on sub domain fed from CDN

    Technical SEO Issues
    10 5 770
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TammyWood
      TammyWood last edited by

      I have a client that uses a CDN to fill images, from a sub domain ( images.domain.com). We've made sure that the sub domain itself is not blocked. We've added a robots.txt file, we're creating an image sitemap file & we've verified ownership of the domain within GWT.

      Yet, any crawler that I use only see's the first page of the sub domain (which is .html) but none of the subsequent URL's which are all .jpeg.

      Is there something simple I'm missing here?

      1 Reply Last reply Reply Quote 0
      • tretanto
        tretanto last edited by

        Did you reference the sitemap in the robots.txt file or did you set up it in GWT?

        TammyWood 1 Reply Last reply Reply Quote 0
        • TammyWood
          TammyWood @tretanto last edited by

          The sitemap is not completed yet. Server logs show Googlebot only indexing one page the .html page, not other pages.

          1 Reply Last reply Reply Quote 0
          • tretanto
            tretanto last edited by

            In order to put those image URLs for the crawler to be able to access them you should either:

            • Link to the URLs of the images (does that .html page in the subdomain contain these URLs?)

            or

            • Use the images URLs as resources in the pages already been crawled. Unfortunately this could be tricky when dealing with CDNs since those resources are dynamic.

            In either case, the sitemap will solve your problem.

            TammyWood 1 Reply Last reply Reply Quote 0
            • TammyWood
              TammyWood @tretanto last edited by

              We've correctly applied the CNAME directive from the CDN to reflect the subdomain. Yet, when Google or any other tool attempts to crawl it only shows ONE URL. Not the images that are residing on their own independent URL's.

              1 Reply Last reply Reply Quote 0
              • Everett
                Everett last edited by

                Are you using your own subdomain or one somewhere else (e.g. akamai.com)? You should use your own subdomain, if possible.

                Was this a change from a previous version that didn't use a CDN? If those images were/are hosted on your primary domain be sure to match the filenames and paths as closely as possible to what they were before.

                If you're doing that you shouldn't have a problem once the sitemap is submitted.

                For more information please check out this post:
                http://www.goinflow.com/four-seo-best-practices-for-using-a-content-delivery-network-cdn/

                How do you know that Google only attempts to crawl the primary domain URL (i.e. the .html page)? Are you checking log files?

                Is the crawler you're using set to crawl external URLs? If not, that could be the issue. Technically a subdomain is a totally separate website so most tools don't crawl them by default.

                TammyWood 1 Reply Last reply Reply Quote 0
                • TammyWood
                  TammyWood @Everett last edited by

                  Yes, we are doing everything correctly, aside from waiting for IT department to create a sitemap.

                  1 Reply Last reply Reply Quote 1
                  • FashionLux
                    FashionLux last edited by

                    We have the same issue however we have image XML sitemaps on each country subdomain's XML Index which point to the image files on images.domain.com.

                    Example:

                    https://uk.domain.com/image-sitemap1.xml

                    https://us.domain.com/image-sitemap1.xml

                    These 2 files are the same.

                    We also don't have a homepage on images.domain.com and it currently responds with a 404.

                    Do you think we need to create a landing page on the homepage and host the image XML sitemap at https://images.domain.com/images-sitemap1.xml rather than in each sub-domain?

                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • alphonseha
                      alphonseha last edited by

                      I am a little confused. The question was marked answered, but which one is the answer?

                      Everett 1 Reply Last reply Reply Quote 0
                      • Everett
                        Everett @alphonseha last edited by

                        Alphonse it sounded like they were just waiting for the sitemap to launch. Other than that, I couldn't think of anything else to add because the sitemap should solve their issue. However, I have marked this as "Discussion" again.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Moving Shopify from a Sub Domain to the Full Domain
                          LucyBee
                          LucyBee
                          0
                          3
                          44

                        • Is repurposing an old sub domain better than creating a new sub domain?
                          VeroBrain
                          VeroBrain
                          1
                          2
                          66

                        • Will Links to one Sub-Domain on a Site hurt a different Sub-Domain on the same site by affecting the Quality of the Root Domain?
                          ifbyphone
                          ifbyphone
                          0
                          5
                          153

                        • Multilingual Website - Sub-domain VS Sub-directory
                          katemorris
                          katemorris
                          0
                          8
                          6.4k

                        • How to prevent duplicat content issue and indexing sub domain [ CDN sub domain]?
                          Dr-Pete
                          Dr-Pete
                          0
                          3
                          328

                        • Transfer a Main Domain to a Sub-Domain
                          ChrisHolgate
                          ChrisHolgate
                          0
                          3
                          295

                        • 301 Redirect from sub domain to new domain
                          Thos003
                          Thos003
                          0
                          3
                          1.1k

                        • Redirecting root domains to sub domains
                          Yozzer
                          Yozzer
                          0
                          4
                          804

                        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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy