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. How to prevent duplicat content issue and indexing sub domain [ CDN sub domain]?

    How to prevent duplicat content issue and indexing sub domain [ CDN sub domain]?

    Technical SEO Issues
    3 3 328
    • 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.
    • Godad
      Godad last edited by

      Hello!

      I wish to use CDN server to optimize my page loading time ( MaxCDN). I have to use a custom CDN sub domain to use these services. If I added a sub domain, then my blog has two URL (http://www.example.com and http://cdn.example.com) for the same content. I have more than 450 blog posts.

      I think it will cause duplicate content issues.

      In this situation, what is the best method (rel=canonical or no-indexing) to prevent duplicate content issue and prevent indexing sub domain? And take the optimum service of the CDN.

      Thanks!

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

        Hi Godad,

        If it was me I would go for the canonical version.

        if you want to go with the no-index, then do not forget to use no-index, follow (so you do not miss the "link juice" those pages might get).

        I hope it helped,

        Istvan

        1 Reply Last reply Reply Quote 1
        • Dr-Pete
          Dr-Pete last edited by

          There's no way to reverse proxy and hide that sub-domain? Ideally, a CDN for content itself would never be seen by the crawlers. If people are going to actually see this sub-domain and potentially link to it, then you're probably going to have to use cross-domain canonical. That's not an ideal solution, though - ideally, the CDN should be invisible to Google and visitors.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Is repurposing an old sub domain better than creating a new sub domain?
            VeroBrain
            VeroBrain
            1
            2
            66

          • Images on sub domain fed from CDN
            Everett
            Everett
            0
            10
            770

          • I have a sub domain that has live content on it but the root domain redirects to another URL. I know this is not great but what are the implications?
            mjsikorsky
            mjsikorsky
            0
            3
            96

          • Forum on a Sub-domain - Thin Content?
            cakaranbatra
            cakaranbatra
            0
            7
            297

          • 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

          • Adding academic content for a school in a sub folder, sub domain, or different site?
            AlanBleiweiss
            AlanBleiweiss
            0
            4
            92

          • Duplicate content issue index.html vs non index.html
            KaneJamison
            KaneJamison
            0
            10
            1.7k

          • What is the best method to block a sub-domain, e.g. staging.domain.com/ from getting indexed?
            KeriMorgret
            KeriMorgret
            0
            13
            6.3k

          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