Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Link Building
    4. Linking to root domain or index page

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Linking to root domain or index page

    Link Building
    5
    6
    3722
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • ArtiKalra
      ArtiKalra last edited by

      While link building, should I link to index page of my website i.e www.mydomainname.com/index.html or should I link to root domain i.e www.mydomainname,com

      Also I see duplicate title error for index page and root domain in error statistic. How can I get rid of this.

      1 Reply Last reply Reply Quote 0
      • Cyrus-Shepard
        Cyrus-Shepard last edited by

        Hi Arti,

        Generally, you want to link to your root domain. Many common website templates link to home as /index.html, but that really hasn't been necessary for years.

        The easiest way to fix this would be to add a canonical tag in your homepage, which is the /index.html file. It would go in the section and look like this:

        After you add this, when you look at your source code for your homepage, you should see this tag in there from whatever address you reached the page from.

        There's a lot of information on duplicate content out there, and a lot of different ways to fix the same problem. Here's a good overview of the subject:

        http://www.seomoz.org/blog/duplicate-content-in-a-post-panda-world

        Best of luck with your SEO.

        1 Reply Last reply Reply Quote 1
        • BedeFahey
          BedeFahey @Guan last edited by

          To me, that's not what your 404 page is for. I wouldn't recommend doing it. What happens if they typo something, or hit a bad link some other way? There's no message to tell them what happened and it creates a confusing user experience.

          Better, in my opinion, to redirect the file individually

          Arti, there's a good article on SEOmoz about redirects. Down the bottom, there are some how-to guides on how to do things like 301's. Just be careful of infinite loops if you're using apache.

          http://www.seomoz.org/blog/url-rewrites-and-301-redirects-how-does-it-all-work

          1 Reply Last reply Reply Quote 1
          • ArtiKalra
            ArtiKalra @Anthony_NorthSEO last edited by

            Hi Anthony, Thanks for your reply. Does that mean that I should actually remove index.html from my website. Also please help me for 301 redirect. Rgds Arti

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

              If you have wordpress you can add

              <code>php
              header("HTTP/1.1 301 Moved Permanently"); header("Location: ".get_bloginfo('url'));  exit();  ?></code>
              

              <code>to your 404 page.</code>

              BedeFahey 1 Reply Last reply Reply Quote 0
              • Anthony_NorthSEO
                Anthony_NorthSEO last edited by

                Hi Arti,

                You'll just need to create a 301 redirect from www.yoursite.com/index.html to www. yoursite.com. This will permanently eliminate the /index.html version (which is a duplicate page) and fix the duplicate content error.

                After that, build links to www.yoursite.com.

                Hope this help. If you need more info on how to do the 301 redirect just let me know.

                ArtiKalra 1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                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.

                • See all categories

                Related Questions

                • Caffeine_Marketing

                  When conducting a link building strategy does it matter the country the link is from?

                  We are a UK business and if we have links mostly from US based blogs and websites does this penalise us.  The links are from relevant websites and topics.  Should we be focusing on .co.uk sites

                  Link Building | | Caffeine_Marketing
                  1
                • cbielich

                  Backlinks from domains that are not indexed...

                  Would you count them as spammy and disavow?

                  Link Building | | cbielich
                  0
                • Gavo

                  Do links to my website improve all pages?

                  I'm currently building links to my home page (through directories) and blog pages. However, none of these pages are actually targeted pages for main keywords. In SEO, do links to any webpage of a site contribute to the improved rank of other pages?

                  Link Building | | Gavo
                  0
                • Deepak_Jain

                  How can I find all the outbound links from a website domain?

                  I want to find all the outbound links (basically whatever comes in <a>tag) from a domain (say www.abc.com) as well as all the subdomains under it (say abc.com/a etc). Open Site Explorer provides the inbound links from a website but does not provide any functionality to get all the outbound links from a website. Is it possible to do?</a> <a>Thanks in advance. Deepak Jain</a>

                  Link Building | | Deepak_Jain
                  0
                • maldiniii

                  It is ok to link together multiple domains on the same ip?

                  I have multiple domains (more than 50) in the same niche. All domains are on the same ip. It is ok to link them together, or to create a piramid link between them?

                  Link Building | | maldiniii
                  0
                • increation

                  Finding pages with a high Page Authority

                  Hi, Whats the quickest way to find pages with a high authority using SEOMoz? Cheers Mik

                  Link Building | | increation
                  0
                • JesseCWalker

                  Do links within imbeddable widgets carry link juice?

                  I'm dipping my toes into infographic design. On of my desired outcomes is to gain links by having other sites embed my graphic. I'm considering using Tableau's interactive data visualization software to do so; thus creating a widget, embedding it on my blog, and including the embed code for others to post. Is it possible to include a juice passing link in such an infographic?  I know its possible to include links inside the tableau graphic but not sure if they have straight SEO value. If these links are not juice passing would it be better to go with a simple image link that passes value?

                  Link Building | | JesseCWalker
                  1
                • Vsky

                  Does linking to a subdomain give link juice to the main domain?

                  I have a few domains that I'm going to use for link building, will the link juice from the sub domains transfer to the main domain?

                  Link Building | | Vsky
                  0

                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
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.