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. Moz Tools
    4. Duplicate Content Issue because of root domain and index.html

    Duplicate Content Issue because of root domain and index.html

    Moz Tools
    4 3 1.3k
    • 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.
    • h1seo
      h1seo last edited by

      SEOMoz crawl diagnostics is suggesting that my root domain and the rootdomain/index.html are duplicate content. What can be done to  ensure that both are considered as a single age only?

      1 Reply Last reply Reply Quote 1
      • donford
        donford last edited by

        Add this to your .htaccess file

        RewriteEngine on
        RewriteCond %{THE_REQUEST} ^./index.html?\ HTTP/
        RewriteRule ^(.
        )index.html?$ "/$1" [R=301,L]

        This will redirect attempts to hit index.html back to root.

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

          Thank You . It is working fine now

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

            Worked like a charm, exactly what i needed, thanks for posting!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • I have 2 linking root domains on my URL. But I don't get the whole Root domain thing. So I don't understand how I can improve it?
              MissThumann
              MissThumann
              0
              3
              222

            • Moz analytics telling me I have duplicate content issues - how to fix this?
              edward-may
              edward-may
              0
              5
              535

            • Are there tools to discover duplicate content issues with the other websites?
              artdivision
              artdivision
              0
              8
              374

            • Crawl report - duplicate page title/content issue
              SEOAndy
              SEOAndy
              0
              4
              203

            • Issue: Duplicate Page Content
              SarahCollins
              SarahCollins
              0
              2
              262

            • Domain.com and domain.com/index.html duplicate content in reports even with rewrite on
              SeanKoenig
              SeanKoenig
              0
              8
              1.2k

            • "Duplicate Page Title" and "Duplicate Page Content" issue
              JoeBrewer
              JoeBrewer
              0
              3
              421

            • Duplicate Content Issues with WordPress
              CoreyNorthcutt
              CoreyNorthcutt
              0
              2
              464

            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