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. Domain.com and domain.com/index.html duplicate content in reports even with rewrite on

    Domain.com and domain.com/index.html duplicate content in reports even with rewrite on

    Moz Tools
    8 5 1.2k
    • 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.
    • anthonytjm
      anthonytjm last edited by

      I have a site that was recently hit by the Google penguin update and dropped a page back. When running the site through seomoz tools, I keep getting duplicate content in the reports for domain.com and domain.com/index.html, even though I have a 301 rewrite condition. When I test the site, domain.com/index.html redirects to domain.com for all directories and root. I don't understand how my index page can still get flagged as duplicate content.

      I also have a redirect from domain.com to www.domain.com.

      Is there anything else I need to do or add to my htaccess file?

      Appreciate any clarification on this.

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

        Did you verify with a tool like http://www.webconfs.com/http-header-check.php that you get a 301 redirect?

        anthonytjm 1 Reply Last reply Reply Quote 0
        • anthonytjm
          anthonytjm @AJPro last edited by

          HTTP/1.1 301 Moved Permanently => Date => Tue, 08 May 2012 13:44:26 GMT Server => Apache/2.0.52 (CentOS) Location => http://www.domain.com/ Content-Length => 330 Connection => close Content-Type => text/html; charset=iso-8859-1

          AJPro 1 Reply Last reply Reply Quote 0
          • AJPro
            AJPro @anthonytjm last edited by

            It could take a little time. I did some redirects myself earlier this year, but the old pages are still in Google's index.

            Maybe someone else can confirm that it can take a little time before the old pages are dropped from Google's index?

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

              a) request removal of the /index.html URL in webmaster tools and it will go away in Google's index quickly.

              b) make sure that when you link to your homepage on your site you are not linking to the /index.html URL -  I bet you are somewhere  😉  do a sitewide search in dreamweaver to find all instances and do a global replace.

              anthonytjm 1 Reply Last reply Reply Quote 0
              • anthonytjm
                anthonytjm @irvingw last edited by

                Thank you for the feedback and help.

                I have looked up url removal in webmaster tools and it states that the page must be removed from the site. If I remove index.html I wont have a home page. Am I understanding you correctly? Heres what google states on url removal.

                To remove a page or image, you must do one of the following:

                • Make sure the content is no longer live on the web. Requests for the page must return an HTTP 404 (not found) or 410 status code.
                • Block the content using a robots.txt file.
                • Block the content using a meta noindex tag.

                Please clarify when you get a moment.

                I would have thought the htaccess 301 redirects from www.domain.com/index.html to www.domain.com would be enough.

                Thank you in advance.

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

                  I checked one of your campaigns, and it does seem like the 301-redirect is working properly. I'm also not seeing any evidence of links to the "index.htm" version or other issues. I don't see evidence of both version sin Google's index. Not sure exactly what's going on here, but I'll run it by the support team. I don't think you have cause for concern.

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

                    Hello Anthony,

                    Saw this still open.

                    If your index.html "Rewrite" code is accurate, could the issue be WWW, i.e. http://www.domain.com vs. http://domain.com?

                    RewriteCond %{HTTP_HOST} ^domain.com
                    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Duplicate Content: Marketing Page / Content Page
                      AllMedSeo
                      AllMedSeo
                      0
                      3
                      136

                    • Duplicate Content for Default Document Domains
                      Leonie-Kramer
                      Leonie-Kramer
                      0
                      2
                      72

                    • Error in Moz duplicate content reports
                      SSFCU
                      SSFCU
                      0
                      3
                      163

                    • Is www.domain.com/page the same url as www.domain.com/page/ for Google? (extra slash at end of url)
                      danatanseo
                      danatanseo
                      0
                      5
                      205

                    • Duplicate Content Issue because of root domain and index.html
                      jeffdude
                      jeffdude
                      1
                      4
                      1.3k

                    • How to delete/redirect duplicate content
                      BobGW
                      BobGW
                      0
                      6
                      382

                    • Difference in data between http://pro.seomoz.org/tools/keyword-difficulty and http://lsapi.seomoz.com/linkscape/url-metrics/
                      claytons
                      claytons
                      0
                      3
                      507

                    • "no urls with duplicate content to report"
                      MeganSingley
                      MeganSingley
                      0
                      5
                      755

                    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