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. Duplicate content issue index.html vs non index.html

    Duplicate content issue index.html vs non index.html

    Technical SEO Issues
    10 5 1.7k
    • 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.
    • Ideas-Money-Art
      Ideas-Money-Art last edited by

      Hi

      I have an issue. In my client's profile, I found that the "index.html" are mostly authoritative than non "index.html", and I found that www. version is more authoritative than  non www. The problem is that I find the opposite situation where non "index.html" are more authoritative than "index.html" or non www more authoritative than www.

      My logic would tell me to still redirect the non"index.html" to "index.html". Am I right?

      and in the case I find the opposite happening, does it matter if I still redirect the non"index.html" to "index.html"?

      The same question for www vs non www versions?

      Thank you

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

        You should stick with one format across the site:

        1. domain.com/index.html and domain.com/subfolder/index.html
          **OR **

        2. domain.com/ and domain.com/subfolder/

        I typically choose the second option because it is agnostic of CMS or file type, and it looks better in my opinion. I would not mix the two across the site because it causes a confusing user experience.

        So, to answer your questions directly:

        My logic would tell me to still redirect the non"index.html" to "index.html". Am I right?

        No, not necessarily. By telling us that there are examples where .html is more authoritative and there are examples where it isn't as authoritative, it's impossible for us to say which is the better choice. I personally would rewrite & redirect everything using the 2nd option above.

        **The same question for www vs non www versions? **

        I believe that WWW vs non-WWW is less important. You could decide based upon which format has more links or which one has been historically used. Consistency (using the same across the entire site), proper 301 redirects, and proper rel canonical tags are your priorities here.

        Ideas-Money-Art depi 2 Replies Last reply Reply Quote 3
        • Ideas-Money-Art
          Ideas-Money-Art @KaneJamison last edited by

          thank you for your detailed answer but one more thing does it matter if I redirect a more authoritative link to a weaker one for the benefit of staying consistent and vice versa?

          let s say I redirect a non index.html to an index.html and vice versa for the sake of consistency?

          KaneJamison 1 Reply Last reply Reply Quote 0
          • depi
            depi @KaneJamison last edited by

            I personally would rewrite & redirect everything using the 2nd option above.

            Can you explain me how to do that, please?

            How to redirect  domain.com/index.html  to  domain.com?

            Thanks

            KaneJamison depi 3 Replies Last reply Reply Quote 0
            • KaneJamison
              KaneJamison @depi last edited by

              How to redirect  domain.com/index.html  to  domain.com/index.html?

              Those two URLs are the same, so there is nothing to change. If you wanted to redirect domain.com/index.html  to  domain.com/ then you would do so with 301 redirects. Here's a guide on getting started:

              http://www.seomoz.org/learn-seo/redirection

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

              1 Reply Last reply Reply Quote 0
              • KaneJamison
                KaneJamison @Ideas-Money-Art last edited by

                Redirecting the authoritative link to the less authoritative URL is not ideal.

                However, in my opinion being consistent with URLs throughout the site takes precedent.

                Implementing 301 redirects will indicate that there has been a permanent relocation of that pages content, and you will get most of the link value from the authoritative link. That said, if you feel comfortable emailing the person who created that authoritative link, it's worth a little effort to ask them to change it, but if it's a hassle to do so, don't push it.

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

                  It's very likely that the "index.html" version is more authoritative because you're using it in internal links. The problem is that that often creates a duplication issue - you refer to the root (non-index.html) version in inbound links, social, etc. (and people tend to link and bookmark the root version), but then link internally to "index.html", so Google will end up indexing both.

                  If the authority is coming from internal links, and you:

                  (1) Switch the internal links to the root ("/")

                  (2) 301-redirect "index.html" to the root ("/")

                  ...you shouldn't lose any authority, as you'll have re-routed it by doing step (1). You'll also consolidate your signals and be better off all-around, IMO.

                  Kane's right, though - it's a bit tough to tell without knowing the specifics.

                  1 Reply Last reply Reply Quote 2
                  • mediabase
                    mediabase last edited by

                    <colgroup><col span="30" width="64"></colgroup>

                    Hi Taysir, first of all ypou must take an overview with what is duplicate content? Solving the cannonical problems with www.
                    Duplicate Content Issues in www & non www
                    I hope that your query had been solved.
                    1 Reply Last reply Reply Quote 2
                    • depi
                      depi @depi last edited by

                      I fix the 2 URLs.

                      In this case domain.com/index.html  is the code for  domain.com/.

                      Do you mean to use mode_rewrite and create a 301 redirect from domain.com/index.html  to  domain.com/ ?

                      Thank you for your time.

                      1 Reply Last reply Reply Quote 0
                      • KaneJamison
                        KaneJamison @depi last edited by

                        Yes, I like using rewrites in an .htaccess file, which is covered in the links above.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Duplicate content issue: staging urls has been indexed and need to know how to remove it from the serps
                          evolvingSEO
                          evolvingSEO
                          0
                          6
                          509

                        • What is best practice for fixing urls that have duplicate content, non-static and other issues?
                          Stramark
                          Stramark
                          0
                          4
                          108

                        • Duplicate content or Duplicate page issue?
                          Kurt_Steinbrueck
                          Kurt_Steinbrueck
                          0
                          2
                          106

                        • Duplicate Content Issues
                          dimanyc
                          dimanyc
                          0
                          3
                          96

                        • Duplicate content /index.php/ issues
                          ThompsonPaul
                          ThompsonPaul
                          1
                          5
                          867

                        • SEOMOZ and non-duplicate duplicate content
                          DocdataCommerce
                          DocdataCommerce
                          0
                          7
                          269

                        • Duplicate content vs. less content
                          SurfingNosara
                          SurfingNosara
                          0
                          6
                          289

                        • Duplicate content issue. Delete index.html and replace with www.?
                          Dr-Pete
                          Dr-Pete
                          1
                          13
                          3.0k

                        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