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

                • Sassandgrace

                  Redirects affect on page and domain authority

                  Hi - excuse me if this is stupid question but I'm rather new to this. Currently the PA for the home page is 16 and the DA 28 and I have some concerns that my efforts are being diluted. When I use OSE on www.sassandgrace.co.uk I get different link results to sassandgrace.co.uk but there is a redirect in place to sassandgrace.co.uk and cannot run a crawl report, for example, on www.sassandgrace.co.uk. The PA and DA are identical for each but the number of links different With a smallish number of links pointing to each but with a redirect in place, am I losing some of the effect or is having the redirect in place giving me all the credit for links to both addresses? Thanks

                  Link Building | | Sassandgrace
                  0
                • Theskimonster

                  Do footer links pass less link juice?

                  One of my best inbound links for PA and DA happens to be a footer link, curious if it's less valuable or has any value at all.

                  Link Building | | Theskimonster
                  0
                • ProjectLabs

                  What is a good ratio of total links to linking root domains?

                  Is 100 total links for every linking domain too high? I suppose I could also look at ratios of sites that are doing well in the rankings.

                  Link Building | | ProjectLabs
                  0
                • vanplus

                  What's more important page authority Vs domain authority?

                  Hello everyone, I am fairly new to SEO so I'm still trying to get my head round everything, I am currently looking into some back links .. well looking at competitor's back links to copy. I was just wondering what's more important page authority or domain authority? So for example if a page has a page authority of 50 and a domain authority of 10 is that better than if a page have page authority 10 and a domain authority of 50. Thanks so much in advance!

                  Link Building | | vanplus
                  1
                • tuananh0688

                  How to make google index the page title has changed ?

                  Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
                  Please help me .
                  My site : http://blog.addme.vn

                  Link Building | | tuananh0688
                  0
                • yacpro13

                  Domain Authority and nofollow links?

                  Hello, I'm wondering, are 'nofollow' links from websites with high domain authority beneficial? Would they boost our own DA? In essence, I'm wondering if there is added value (other than visitors clicking the link) to being linked to by a 'nofollow' link. Thanks!

                  Link Building | | yacpro13
                  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
                • apolloseo

                  Can link juice be passed in an iframe from domain A to domain B

                  Need to give our web partners our booking form which must be loaded in an iframe calling back to our domain. Is it possible to pass any link juice from their domain loading our iframe back to us. Was thinking of a "Powered by" text link in the form footer, but I'm guessing the link needs to be outside the iframe. Would love to hear any thoughts or workarounds on this.

                  Link Building | | apolloseo
                  1

                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.