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. Www.xyz.com v/s xyz.com creating duplicate pages

    Www.xyz.com v/s xyz.com creating duplicate pages

    Technical SEO Issues
    8 4 1.4k
    • 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.
    • Britewave
      Britewave last edited by

      I just put my site in moz analytics. The crawl results says I have duplicate content. When I look at the pages it is because one page is www.xyz.com and the duplicate is xyz.com.   What causes this and how can it be fixed. I'm not a developer, so be kind and speak a language I can understand.

      Thanks for your help 🙂

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

        I hope this isn't too technical, but just do a 301 redirect from either www.xyz.com to xyz.com or vice versa (your choice) for all pages on your website. That should solve the issue! (You can and should also set one of those as the canonical domain in Google Webmaster Tools.)

        If that doesn't make sense, just reply!

        Britewave 1 Reply Last reply Reply Quote 1
        • Philip-DiPatrizio
          Philip-DiPatrizio last edited by

          In your scenario, you will want to choose one or the other, and setup a force WWW (or non-WWW) 301 redirect.  If your site is on a linux-based platform, that is accomplished with an htaccess file.  If you are on a Windows-based server, you will need to use IIS (I think).  A simple Google search for "force www redirect windows server" will likely return tons of solutions.

          If you're on Wordpress or a similar CMS, it is usually very easy to do from within the backend.  If you have no idea what server you're on, or what platform your site is built on, use builtwith.com to find out 🙂

          How do you choose between www.example.com or just example.com?  You'll want to go with the one that's linked to more often, and then work on sticking with that as often as possible in the future.  The majority of the link juice that's pointing towards example.com will be transfered to www.example.com with the 301 redirect, so it's not like those links without WWW will be worthless.  They only lose a very tiny amount of their value through the redirect.  The good news is, you're fixing a big issue so it isn't going to get worse for you.

          Let me know if you have more questions.

          Britewave 1 Reply Last reply Reply Quote 1
          • Britewave
            Britewave @SamuelScott last edited by

            I get that!!  Does this happen when a site is built?  Does it just happen by default, or was something not done correctly when the site was built?

            Thanks for your quick response 🙂

            Philip-DiPatrizio SamuelScott 2 Replies Last reply Reply Quote 0
            • Britewave
              Britewave @Philip-DiPatrizio last edited by

              I don't currently know which one is linked to more often. I will look into that. Thanks for that little tip and your fast response.

              JaneCopland 1 Reply Last reply Reply Quote 0
              • Philip-DiPatrizio
                Philip-DiPatrizio @Britewave last edited by

                The 'default' setup will be for no redirects to be in place.  It's not that something was done incorrectly, but rather, a best practice for SEO was overlooked.  It's not something your average Joe or webmaster with no SEO experience is likely going to.

                1 Reply Last reply Reply Quote 0
                • SamuelScott
                  SamuelScott @Britewave last edited by

                  Yes, when you setup a website normally, this will usually be a default issue that needs to be addressed. It's an overall problem (though easy to fix) that has yet to be addressed. So, no, it's not your fault -- but it's on you and every other site owner to fix it. 🙂

                  1 Reply Last reply Reply Quote 0
                  • JaneCopland
                    JaneCopland @Britewave last edited by

                    Hi Viresh,

                    The 301 redirect option is perfect, and so is using the canonical tag to point one "version" of the site to the other if you would rather do that - instructions for doing that are here. Just make sure, as you would with the redirect, the the canonical tag points on a page-by-page basis. That is, xyz.com/page31.html has a canonical tag on it pointing to www.xyz.com/page31.html, not to www.xyz.com/.

                    Cheers,

                    Jane

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Page Rank Being Split Between www.website.com and http://website.com
                      DmitriiK
                      DmitriiK
                      0
                      2
                      25

                    • Hi! I'm wondering whether for keyword SEO - a url should be www.salshoes.com/shoes/mens/day-wear (so with a few parent categories) or www.salshoes.com/shoes-mens-day-wear is ok for on page optimization?
                      _nitman
                      _nitman
                      0
                      5
                      165

                    • Getting high priority issue for our xxx.com and xxx.com/home as duplicate pages and duplicate page titles can't seem to find anything that needs to be corrected, what might I be missing?
                      Todd_McDonald
                      Todd_McDonald
                      0
                      4
                      4.0k

                    • Joomla creating duplicate pages, then the duplicate page's canonical points to itself - help!
                      Eurasmus.com
                      Eurasmus.com
                      0
                      9
                      890

                    • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                      Chris-CA
                      Chris-CA
                      0
                      5
                      456

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

                    • Why do I get duplicate pages, website referencing the capital version of the url vs the lowercase www.agi-automation.com/Pneumatic-grippers.htm
                      TimKelsey
                      TimKelsey
                      0
                      7
                      547

                    • In order to improve my google rank, I recently changed my url from http://www.helpwithassignment.com/nursing-assignment-help to http://www.helpwithassignment.com/Assignment-Help/nursing-assignment-help
                      RichaS
                      RichaS
                      1
                      14
                      1.1k

                    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