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. White Hat / Black Hat SEO
    4. Sub Domain rel=canonical to Main Domain

    Sub Domain rel=canonical to Main Domain

    White Hat / Black Hat SEO
    3 3 909
    • 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.
    • Joseph-Vodafone
      Joseph-Vodafone last edited by

      Just a quick one, i have the following example scenario.

      Main Domain: http://www.test.com

      Sub Domain: http://sub.test.com

      What I am wondering is I can add onto the sub domain a rel=canonical to the main domain. I dont want to de-index the whole sub domain just a few pages are duplicated from the main site.

      Is it easier to de-index the individual sub domain pages or add the rel=canonical back to the main domain.

      Much appreciated

      Joseph

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

        Hi there,

        The Rel=canonical will not de-index those pages.

        To de-index, add a rel=robots with a noindex tag. And also add the rel=canonical or just redirect 301 the page. Of course, do it to those selected pages only.

        Hope it helps.
        GR.

        1 Reply Last reply Reply Quote 1
        • Linda-Vassily
          Linda-Vassily last edited by

          Canonicalizing http://sub.test.com to http://www.test.com will tell Google that those two individual pages are the same and it should only index http://www.test.com--it won't affect other pages on the subdomain.

          If you only have a few subdomain pages that are duplicates of root domain pages, you can just use canonicals to indicate which pages you want indexed. You won't need to noindex the duplicate ones--they will fall out of Google's index naturally once Google sees which are the preferred, canonical ones.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Sitewide nav linking from subdomain to main domain
            GastonRiera
            GastonRiera
            0
            2
            65

          • Canonical cross domain Linkjuice
            EGOL
            EGOL
            0
            4
            271

          • Should I add the canonical URL/homepage (http://www.domain.com) in the secured version of my home URL (https://www.domain.com)?
            esiow2013
            esiow2013
            0
            3
            165

          • Blog on 2 domains (.org/.com), Canonical to Solve?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            4
            112

          • 302 redirects - redirecting numerous domains into main primary domain
            Carson-Ward
            Carson-Ward
            0
            7
            505

          • New sub-domain launches thousands of local pages - is it hurting the main domain?
            VMLYRDiscoverability
            VMLYRDiscoverability
            0
            4
            257

          • Is our sub-domain messing up our seo for our root?
            HandsomeWeb
            HandsomeWeb
            0
            2
            336

          • New domain or flagged domain?
            Klarke
            Klarke
            0
            5
            433

          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