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. Solution for duplicate content not working

    Solution for duplicate content not working

    Technical SEO Issues
    11 3 1.1k
    • 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.
    • Joeuspe
      Joeuspe last edited by

      I'm getting a duplicate content error for:

      http://www.website.com

      http://www.website.com/default.htm

      I searched for the Q&A for the solution and found:

      Access the.htaccess file and add this line:

      redirect 301 /default.htm http://www.website.com

      I added the redirect to my .htaccess and then got the following error from Google when trying to access the http://www.website.com/default.htm page:

      "This webpage has a redirect loop
      The webpage at http://www.webpage.com/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer."

      "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects."

      How can I correct this?

      Thanks

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

        Hi joseph,

        first investigate who is redirecting root to /default... is it htaccess or script?

        try to use

        redirectmatch 301 /default.htm http://www.website.com

        please follow up

        Joeuspe 1 Reply Last reply Reply Quote 0
        • Joeuspe
          Joeuspe @wissamdandan last edited by

          Hi Wissam,

          I'm not sure, there is no redirect set up for /default.htm in my .htaccess

          I tried adding the redirectmatch 301 and got back the same error message as before...

          wissamdandan Joeuspe 5 Replies Last reply Reply Quote 0
          • CPU
            CPU last edited by

            Is there anything else in the .htaccess file that may be causing the loop?

            If the file looks correct I would try copying and pasting the text into a new htaccess file and deleting the original and seeing if the problem remains.

            I have fixed a random issue with htaccess before by effectively recreating the file.

            Joeuspe 1 Reply Last reply Reply Quote 0
            • wissamdandan
              wissamdandan @Joeuspe last edited by

              try to check your http header please.

              http://web-sniffer.net/

              add your http://www.website.com

              and see what it will serve you. a 200 OK or a 301 to default.htm

              1 Reply Last reply Reply Quote 0
              • Joeuspe
                Joeuspe @Joeuspe last edited by

                Ok, tried it and got a 200 OK

                1 Reply Last reply Reply Quote 0
                • wissamdandan
                  wissamdandan @Joeuspe last edited by

                  Do you mind posting URL or PM me

                  1 Reply Last reply Reply Quote 0
                  • Joeuspe
                    Joeuspe @CPU last edited by

                    Hi Lewis,

                    I tried recreating the file as you said, but no luck yet... I sent you a pm with my .htaccess info, maybe you can see something I don't.

                    CPU 1 Reply Last reply Reply Quote 0
                    • Joeuspe
                      Joeuspe @Joeuspe last edited by

                      PM sent...

                      1 Reply Last reply Reply Quote 0
                      • wissamdandan
                        wissamdandan @Joeuspe last edited by

                        it wont harm to try this  and try to add it before all redirects

                        <code>Options +FollowSymLinks
                        RewriteEngine On
                        RewriteBase /
                        RewriteCond %{THE_REQUEST} ^/default.htm HTTP/
                        RewriteRule ^/(default.htm)$ http://www.otherdomain.com [R=301,L]</code>
                        
                        1 Reply Last reply Reply Quote 0
                        • CPU
                          CPU @Joeuspe last edited by

                          Hi Joseph

                          The info you sent me looked fine. Have you seen if other users on other browsers or operating systems are having this issue? Also have you cleared your cookies as advised in the warning message?

                          If you upload a htaccess file with just one redirect do you still get the same issue? If so it would suggest that it may be a server issue. As such it may be worth talking to the relevant people within the organisation that deal with them or as may be the case if there is no one then it may be worth contacting the web host.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • When is Duplicate Content Duplicate Content
                            AMHC
                            AMHC
                            0
                            6
                            169

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

                          • Looking for a technical solution for duplicate content
                            Christy-Correll
                            Christy-Correll
                            0
                            4
                            135

                          • Tired of finding solution for duplicate contents.
                            chandubaba
                            chandubaba
                            0
                            13
                            214

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

                          • Duplicate content issues, I am running into challenges and am looking for suggestions for solutions. Please help.
                            Dr-Pete
                            Dr-Pete
                            0
                            5
                            272

                          • Similar Content vs Duplicate Content
                            Izoox
                            Izoox
                            0
                            4
                            363

                          • I have a ton of "duplicated content", "duplicated titles" in my website, solutions?
                            AlanMosley
                            AlanMosley
                            0
                            4
                            512

                          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