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 based on www.www

    Duplicate Content based on www.www

    Technical SEO Issues
    9 3 427
    • 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.
    • CredA
      CredA last edited by

      In trying to knock down the most common errors on our site, we've noticed we do have an issue with dupicate content; however, most of the duplicate content errors are due to our site being indexed with www.www and not just www.

      I am perplexed as to how this is happening.  Searching through IIS, I see nothing that would be causing this, and we have no hostname records setup that are www.www.

      Does anyone know of  any other things that may cause this and how we can go about remedying it?

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

        Hi

        If your sit is opened with or without WWW then obviously Google consider both different site and duplicate content. This will solve by setting rel="canonical" . 301 redirect is best option because it will transfer your back-links, page-rank and linkjuce so it is safe way of redirect URL. Upload  .htaccess. file in your FTP server it helps you to solve this problem.

        CredA KeriMorgret 2 Replies Last reply Reply Quote -1
        • CredA
          CredA @SanketPatel last edited by

          Thanks Sanket, your reply makes total sense and I would apply it if I could figure out how the extra www ( www.www ) is even happening.  Wouldn't I have to know that first in order to implement the redirect?

          In IIS I don't see where the extra www.www is setup (what directory)

          If I could find it, it seems I could just create a .htaccess file with the code below:

          Options +FollowSymlinks
          RewriteEngine on
          rewritecond %{http_host} ^www.www.domain.com [nc]
          rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

          Would that could be right?

          I'm still digging on where the extra forward to www.www is happening.

          1 Reply Last reply Reply Quote 0
          • KeriMorgret
            KeriMorgret @SanketPatel last edited by

            Hi Sanket,

            The person asking the question is on IIS, so an .htaccess file won't help.

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

              Are you running IIS6 or IIS7? Things are a little different for each of them. If you let us know what version of IIS you're running, we'll look up the proper configuration for you.

              CredA 1 Reply Last reply Reply Quote 0
              • CredA
                CredA @KeriMorgret last edited by

                Hi Keri - it is IIS6

                KeriMorgret CredA 3 Replies Last reply Reply Quote 0
                • KeriMorgret
                  KeriMorgret @CredA last edited by

                  I haven't done this in a long time, but I used ISAPI Rewrite, and did what is talked about in this thread at http://www.webmasterworld.com/microsoft_asp_net/3951672.htm. An alternate method is discussed at http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect/#microsoft. Hope this helps you get started!

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

                    Thanks Keri - yes I have ISAPI Rewrite installed.

                    I will go that route and give it a shot.

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

                      Just a thanks again!  I modded ISAPI Rewrite and resolved the problem thanks to your tip.

                      FYI in case anyone else needs it, here is the mod I did:

                      #redirecting www.www.domain.com to www.domain.com also redirect the net and org #RewriteCond  Host:  www.www.domainname.(com|net|org)
                      #RewriteRule  (.*)  http://domainname.com$2 [R]

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

                      • Duplicate Content Issue WWW and Non WWW
                        TheeDigital
                        TheeDigital
                        1
                        3
                        1.6k

                      • How to handle city-based product selection and duplicate content?
                        TomRayner
                        TomRayner
                        0
                        2
                        106

                      • Www or not www base url
                        waqid
                        waqid
                        0
                        6
                        565

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

                      • Similar Content vs Duplicate Content
                        Izoox
                        Izoox
                        0
                        4
                        363

                      • How can I prevent duplicate content between www.page.com/ and www.page.com
                        onlineexpression
                        onlineexpression
                        0
                        4
                        536

                      • Root domain not resolving to www. Duplicate content?
                        Gyorgy
                        Gyorgy
                        0
                        9
                        1.4k

                      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