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 Errors

    Duplicate Content Errors

    Technical SEO Issues
    16 2 997
    • 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.
    • Banknotes
      Banknotes @Banknotes last edited by

      Sorry,  I forgot to add that I put that rule in before but it doesn't seem to be working for me.  Not sure why but sadly it's time for my day job so I will take a look tonight.  🙂

      1 Reply Last reply Reply Quote 0
      • AlanMosley
        AlanMosley @Banknotes last edited by

        You have an error above, you should have 
        

        pattern="^www.antiquebanknotes.com$"

        not pattern="^antiquebanknotes\.com$"
        

        The other rule does work i just tested it

        When adding it place stright under the last rule inside the same rules tag, 
        there should only be one rules tag
        ```
        1 Reply Last reply Reply Quote 0
        • Banknotes
          Banknotes @Banknotes last edited by

          I thought this pattern:

          ^antiquebanknotes.com

          was ok for me bcause I am looking to take AntiqueBanknotes.com and make it into www.AntiqueBankNotes etc

          I think my hostname redirect is working ok.... it's the default.aspx redir that isn't working.  I have it in the same Rules section.

          Look ok?

          <rule name="Default Page" enabled="true" stopprocessing="true"><match url="^default.aspx$"><conditions logicalgrouping="MatchAll"><add input="{REQUEST_METHOD}" pattern="GET"></add></conditions>
                    <action type="Redirect" url="/"></action></match></rule>

          1 Reply Last reply Reply Quote 0
          • AlanMosley
            AlanMosley @Banknotes last edited by

            What this line is saying is, if not antiquebanknotes.com then redirect, note the negate=true

            <add input="{HTTP_HOST}" pattern="^.antiquebanknotes.com$" negate="true"></add>

            What you should have is

            <system.webserver><rewrite><rules><rule name="CanonicalHostNameRule1"><match url="(.*)"><conditions><add input="{HTTP_HOST}" pattern="^www.antiquebanknotes.com$" negate="true"></add></conditions>
                      <action type="Redirect" url="http://www.antiquebanknotes.com/{R:1}"></action></match></rule>
                   <rule name="Default Page" enabled="true" stopprocessing="true"><match url="^default.aspx$"><conditions logicalgrouping="MatchAll"><add input="{REQUEST_METHOD}" pattern="GET"></add></conditions>
                      <action type="Redirect" url="/"></action></match></rule></rules></rewrite></system.webserver>

            Try that, let me know when you have it in place and I will test it for you.

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

              Ok,  I have that in place...  if I am testing right, the default.aspx isn't working.   Maybe it's a hosting issue?

              1 Reply Last reply Reply Quote 0
              • AlanMosley
                AlanMosley @Banknotes last edited by

                nor is the non www redirected to the www

                the code i gave you should be inside the configuration tag

                <configuration></configuration>

                place here

                and you should only have one <system.webserver>tag</system.webserver>

                if you want you cany send me your web.config and ill have a look

                mosley@thatsit.net.au

                1 Reply Last reply Reply Quote 0
                • AlanMosley
                  AlanMosley @Banknotes last edited by

                  Cant see anything wrong with web.config

                  I should of asked before if you are using IIS7?

                  if so try to debug with the article http://blogs.iis.net/ruslany/archive/2008/10/30/debug-and-troubleshoot-rewrite-rules-easily.aspx

                  I have the same code as you in many sites all working fine

                  you may need to restart IIS?

                  1 Reply Last reply Reply Quote 1
                  • Banknotes
                    Banknotes @Banknotes last edited by

                    It's II6 hosted on Godaddy.   I will see if I can get my IIS restarted.

                    1 Reply Last reply Reply Quote 0
                    • AlanMosley
                      AlanMosley @Banknotes last edited by

                      I dont think it works on IIS6

                      There is your problem.

                      You can fix your www problem by code, see tutorials, but fixing the default page is not so easy. as in ASP.Net you can not detect the difference between domain.com and domain.com/default.aspx

                      Best thing you can do is make sure all your internal links point to domain.com and not domain.com/default.aspx any external links pointing to default.aspx will be watsed, but sicne no internal links point to default.aspx you are unlikely to get any mopre external links pointing to it.

                      GoDaddy much be using old servers.

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

                        They offer II7 but I didn't see any point to it...

                        Now it's dawning on me I may need to reconsider.  🙂

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Duplicate content and 404 errors
                          TwoOctobers
                          TwoOctobers
                          0
                          4
                          291

                        • Database driven content producing false duplicate content errors
                          nickcargill
                          nickcargill
                          0
                          5
                          171

                        • Noticed a lot of duplicate content errors...
                          slapshotstudio
                          slapshotstudio
                          0
                          7
                          180

                        • 174 Duplicate Content Errors
                          lisarein
                          lisarein
                          0
                          6
                          114

                        • How to fix duplicate page content error?
                          RGEQUIPNET
                          RGEQUIPNET
                          0
                          7
                          1.3k

                        • I am trying to correct error report of duplicate page content. However I am unable to find in over 100 blogs the page which contains similar content to the page SEOmoz reported as having similar content is my only option to just dlete the blog page?
                          evolvingSEO
                          evolvingSEO
                          0
                          4
                          344

                        • How to resolve duplicate content and title errors?
                          DROIDSTERS
                          DROIDSTERS
                          0
                          2
                          786

                        • Why are my pages getting duplicate content errors?
                          KeriMorgret
                          KeriMorgret
                          0
                          8
                          928

                        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