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. Help With Preferred Domain Settings, 301 and Duplicate Content

    Help With Preferred Domain Settings, 301 and Duplicate Content

    Intermediate & Advanced SEO
    7 3 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.
    • JSOC
      JSOC last edited by

      I've seen some good threads developed on this topic in the Q&A archives, but feel this topic deserves a fresh perspective as many of the discussion were almost 4 years old.

      My webmaster tools preferred domain setting is currently non www. I didn't set the preferred domain this way, it was like this when I first started using WM tools.

      However, I have built the majority of my links with the www, which I've always viewed as part of the web address.

      When I put my site into an SEO Moz campaign it recognized the www version as a subdomain which I thought was strange, but now I realize it's due to the www vs. non www preferred domain distinction.

      A look at site:mysite.com shows that Google is indexing both the www and non www version of the site. My site appears healthy in terms of traffic, but my sense is that a few technical SEO items are holding me back from a breakthrough.

      QUESTION to the SEOmoz community:

      What the hell should I do? Change the preferred domain settings? 301 redirect from non www domain to the www domain?

      Google suggests this: "Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer."

      Any insight would be greatly appreciated.

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

        You need to make a decision. Do you want your site address to be seen with or without the www?

        Try to assess which version of your URL would require the least number of re-directs. You mentioned the links you built mostly include the www. Take a look at all of your links. You may have a higher number of organic links without the www. Evaluate all the links, then make a decision.

        Once you make a decision, stick with it. Canonicalize all your pages with the correct version of the URL. Search your site for all internal links and standardize them.

        While you are on this project standardize whether you use a "/" on the end of your url as well. www.mysite.com is not the same as www.mysite.com/. I make this suggestion because if you will go through the painful process of standardizing your site for the www issue, you should resolve all issues at once.

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

          As Ryan said, make a decision. The easiest way to make sure either of your decisions sticks is to use an htaccess file and rewrite to your preferred.

          If using the www version:

          RewriteEngine On

          RewriteCond %{HTTP_HOST} ^[0-9]+(.[0-9]+){3} [OR]
          RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
          RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]

          if using the non www version:

          RewriteEngine On

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

          A few other questions to keep in mind:

          Do you get a lot of type-in traffic?

          Do they tend to type the www?

          In the SERP it is easier to read the domain name with out the www if looking for a specific domain name. Do you have a brand built where people just say your domain name?

          JSOC 1 Reply Last reply Reply Quote 0
          • JSOC
            JSOC @sferrino last edited by

            Guys,

            Thanks for the input. I just want to do what is best for traffic and the site. I don't want to do anything that is going to tank my rankings and visitors.

            I don't get alot of type in traffic.

            www is the main way the links have been built, why not just redirect those to the non www version?

            RyanKent JSOC 3 Replies Last reply Reply Quote 0
            • RyanKent
              RyanKent @JSOC last edited by

              You are welcome to do so. Go to Google WMT, change your current option to the www, then adjust your .htaccess file as Steven suggested.

              Also, canonicalize your pages to help ensure this issue can't happen again. Your .htaccess changes will work as long as the file is there, but things happen so it's better to be covered.

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

                Thanks Ryan. So, if most of the links (including all internal links) are built with the www format then it is wise to change preferred domain settings to www and redirect the non www to the www domain?

                Am I likely to damage rankings/traffic by doing this? What happens if I just leave it as is?

                1 Reply Last reply Reply Quote 0
                • RyanKent
                  RyanKent @JSOC last edited by

                  The worst thing you can do is nothing.

                  www.mysite.com

                  www.mysite.com/

                  mysite.com

                  mystic.com/

                  www.mysite.com/index.html

                  Above is 5 examples of URLs which COULD all lead to the same page. There are numerous other possibilities as well. If you don't let Google know which version of the page is correct, then you will suffer the consequences of duplicate content.

                  What happens is Google doesn't know which page is correct. They will pick one of the non-www versions because that is what your Google WMT is set up to do. Meanwhile other versions of the pages are being used.

                  You are sending your link juice to a page, but it is a complete waste as it is not being considered by Google for SERP. You MUST resolve this issue if you care about SEO at all.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Putting my content under domain.com/content, or under related categories: domain.com/bikes/content ?
                    Andy.Drinkwater
                    Andy.Drinkwater
                    0
                    2
                    69

                  • Duplicate content in external domains
                    teconsite
                    teconsite
                    0
                    3
                    122

                  • Will using 301 redirects to reduce duplicate content on a massive scale within a domain hurt the site?
                    AlanMosley
                    AlanMosley
                    0
                    4
                    218

                  • Duplicate content reported on WMT for 301 redirected content
                    SEOAccount32
                    SEOAccount32
                    0
                    6
                    328

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

                  • Need help with duplicate content. Same content; different locations.
                    sergio_redondo
                    sergio_redondo
                    0
                    2
                    339

                  • Duplicate content on sub-domains?
                    daniel.alvarez
                    daniel.alvarez
                    0
                    5
                    702

                  • Duplicate Content Help
                    irvingw
                    irvingw
                    0
                    8
                    588

                  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