undefined
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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    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
3.7k
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 Apr 21, 2012, 2:51 AM

    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 Apr 24, 2012, 10:01 PM Apr 24, 2012, 10:01 PM

      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 Apr 23, 2012, 10:39 AM Apr 23, 2012, 10:38 AM

        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 Apr 22, 2012, 2:22 AM Apr 22, 2012, 2:22 AM

          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 Apr 21, 2012, 9:21 AM Apr 21, 2012, 9:21 AM

            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 Apr 23, 2012, 10:38 AM Reply Quote 0
            • Anthony_NorthSEO
              Anthony_NorthSEO last edited by Apr 21, 2012, 3:33 AM Apr 21, 2012, 3:33 AM

              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 Apr 22, 2012, 2:22 AM Reply Quote 1
              • 1 / 1
              1 out of 6
              • First post
                1/6
                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 | Dec 24, 2019, 1:43 PM | Caffeine_Marketing
                1
              • chaudhary0489

                Internal Linking - Post links vs Side Bar Links behaving differently

                Hi, I have a question regarding the internal linking behavior.  My website is www.hindimeaning.com  which is approx 3 years old. I have approx 450 posts. Now i have a widget on right sidebar "Popular posts". A widget below my posts "Related Posts". And a simple html CSS menu above the posts (I removed menu around 6 month before so currently it will not show.) I crawled my site with moz crawler (same are the result from google crawler as well) and it shows menus links as internal links. While sidebar widget "Popular posts" and "Related Posts" are not showing as internal links. If we talk theoretically what i learn till now is "every link on a page behaves as internal link". Then why the widget links are not showing as internal links. Thanks, Mahesh Kumar

                Link Building | Feb 12, 2015, 6:48 AM | chaudhary0489
                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 | Jul 2, 2013, 6:54 AM | ProjectLabs
                0
              • beehappy

                How many links with page authority to beat competition if we already score 62

                How many links with page authority do I need to beat or get closer to competitor with page score 78 and domain authority score 72, if we already score 68 on page and 62 domain authority. This is in one of many beauty product markets. I ask because there is a company offering me for $80 each 10 links with higher than 70 page score (up to 80) and higher than 74 domain score (up to 86). All the other factors: number of links and social are almost the same for our website and the competitor's

                Link Building | Apr 12, 2012, 1:05 AM | beehappy
                1
              • SamCUK

                Text Link vs image link?

                Which passes most link juice a text link or an image with the correct 'alt' attribute? Do the pass the same amount or is one more valuable than the other?

                Link Building | Mar 28, 2012, 10:27 PM | SamCUK
                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 | Jan 31, 2012, 11:58 AM | 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 | Nov 16, 2011, 8:10 AM | JesseCWalker
                1
              • A Former User

                Does google scrape links from PDF files? do these links pass link juice?

                Title is pretty much the whole question.

                Link Building | Oct 8, 2011, 6:57 AM | A Former User
                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
              • 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 - 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.