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. Intermediate & Advanced SEO
    4. Duplicate Content www vs. non-www and best practices

    Duplicate Content www vs. non-www and best practices

    Intermediate & Advanced SEO
    5 5 6.0k
    • 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.
    • EnvoyWeb
      EnvoyWeb last edited by

      I have a customer who had prior help on his website and I noticed a 301 redirect in his .htaccess

      Rule for duplicate content removal : www.domain.com vs domain.com

      RewriteCond %{HTTP_HOST} ^MY-CUSTOMER-SITE.com [NC]
      RewriteRule (.*) http://www.MY-CUSTOMER-SITE.com/$1 [R=301,L,NC]

      The result of this rule is that i type MY-CUSTOMER-SITE.com in the browser and it redirects to www.MY-CUSTOMER-SITE.com

      I wonder if this is causing issues in SERPS.  If I have some inbound links pointing to www.MY-CUSTOMER-SITE.com and some pointing to MY-CUSTOMER-SITE.com, I would think that this rewrite isn't necessary as it would seem that Googlebot is smart enough to know that these aren't two sites.

      -----Can you comment on whether this is a best practice for all domains?
      -----I've run a report for backlinks.  If my thought is true that there are some pointing to www.www.MY-CUSTOMER-SITE.com and some to the www.MY-CUSTOMER-SITE.com, is there any value in addressing this?

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

        Ideally one version of the site should redirect to the other version using a 301 to transfer any link juice from one version of the domain to the other.  In an issue where both versions have links pointing to them, the best solution is to see which version has the highest domain authority and the most links and use that as your preferred domain.

        1 Reply Last reply Reply Quote 0
        • Oren.
          Oren. last edited by

          You want to commit to one and put a 301 on the other.  Googlebot should be smart enough, but it isn't really.  Some things aren't best to be left to chance.

          Here's the Moz 301 redirect article: http://moz.com/learn/seo/redirection

          Edit: Here's another article about www.mysite.com vs mysite.com http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect/#.UlbGl1Cko2s

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

            -----Can you comment on whether this is a best practice for all domains?

            Yes, it is.

            -----I've run a report for backlinks.  If my thought is true that there are some pointing to www.www.MY-CUSTOMER-SITE.com and some to the www.MY-CUSTOMER-SITE.com, is there any value in addressing this?

            You shouldn't worry about that at all. 301's are just fine. They don't only redirect visitors, search engines like Google also follow them to pass authority signals to the redirected page.

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

              _If I have some inbound links pointing to www.MY-CUSTOMER-SITE.com and some pointing to MY-CUSTOMER-SITE.com, I would think that this rewrite isn't necessary as it would seem that Googlebot is smart enough to know that these aren't two sites. _

              Absolutely NOT, unfortunately. Search engines specifically consider these two versions of the URLS to be two totally different sites. The redirect rule you currently have is specifically in place to correct this problem so the two versions of your site (in the eyes of the engines) aren't competing with each other.

              The previous developer knew what he was doing. Leave the redirect as-is. Just be careful that all links you create use the primary version of the URL - you'll retain a bit more "link juice" that way than having them go through the redirect. (i.e. always write links as www.my-customer-site.com/whatever for links in content, menus, incoming links where possible)

              Paul

              P.S. For proof that search engines consider those URLs different sites, Google's own Webmaster Tools has a setting where you can tell Google which version of the site URL you want to be primary. Much better to do this with a proper 301-redirect though so that you can tell ALL search engines, not just Google.

              1 Reply Last reply Reply Quote 3
              • 1 / 1
              • First post
                Last post
              • We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
                BlueprintMarketing
                BlueprintMarketing
                0
                8
                437

              • Best Practice Approaches to Canonicals vs. Indexing in Google Sitemap vs. No Follow Tags
                effectdigital
                effectdigital
                0
                4
                57

              • Www vs Non-www version - should we still redirect?
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                0
                2
                71

              • Best practice to 301 NON-WWW pages?
                mememax
                mememax
                0
                4
                91

              • Best SEO practices SPEED VS CONTENT
                JaneCopland
                JaneCopland
                0
                2
                141

              • Moving some content to a new domain - best practices to avoid duplicate content?
                Citybase
                Citybase
                0
                3
                248

              • Another duplicate page title www.domain.com vs www.domain.com/index.html question
                Matt-Williamson
                Matt-Williamson
                0
                2
                405

              • Duplicate content - canonical vs link to original and Flash duplication
                AlanMosley
                AlanMosley
                0
                2
                520

              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