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. Something happened within the last 2 weeks on our WordPress-hosted site that created "duplicates" by counting www.company.com/example and company.com/example (without the 'www.') as separate pages. Any idea what could have happened, and how to fix it?

    Something happened within the last 2 weeks on our WordPress-hosted site that created "duplicates" by counting www.company.com/example and company.com/example (without the 'www.') as separate pages. Any idea what could have happened, and how to fix it?

    Intermediate & Advanced SEO
    6 4 161
    • 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.
    • wzimmer
      wzimmer last edited by

      Our website is running through WordPress. We've been running Moz for over a month now. Only recently, within the past 2 weeks, have we been alerted to over 100 duplicate pages. It appears something happened that created a duplicate of every single page on our site; "www.company.com/example" and "company.com/example."

      Again, according to our MOZ, this is a recent issue. I'm almost certain that prior to a couple of weeks ago, there existed both forms of the URL that directed to the same page without be counting as a duplicate.

      Thanks for you help!

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

        Most likely it's a setting in WordPress that has been turned on or turned off. I'm not sure how you were redirecting your site from www.company.com to company.com, but that's typically done in the .htaccess file on the site.

        What you'll need to do is verify that it's still happening first. Use a server header check tool to see if company.com is redirecting to www.company.com (or vice versa).

        There are several ways to set up these redirects, and you'll have to figure out how you were doing it previously. If you were using a plugin, it could be that the plugin was removed or deactivated (or updated). It could also be in the site's theme, some themes allow you to set your "preferred version" of your domain.

        Lastly, I would go into Google Search Console and make sure you have set your preferred domain there (www or non-www) so Google knows which version to use. If you have it set there, there's a chance that your site's rankings may not be affected.

        wzimmer 1 Reply Last reply Reply Quote 2
        • GastonRiera
          GastonRiera last edited by

          Hi William,

          Just as Eric said, it's like a problem triggered by the wordpress CMS.
          I know 3 different ways to solve this problem:

          1- Using a plugin, that creates a redict 301.
          2- Creating a redirection pattern in the .htaccess file. Here more info: 
          301 redirect (www.domain.com/index to www.domain.com) - Q&A Moz.com
          3- In the case that redirects cannot be done, use rel=canonical in those pages making the problem.
          I believe that this solution would need some coding creativity, to create a code that detects the URL non desired and put the right URL in the rel=canonical tag.
          More info about that last:
          301 Redirect or Rel=Canonical - Which One Should You Use? - Blog Moz.com

          Hope its useful.
          GR.

          1 Reply Last reply Reply Quote 2
          • Christy-Correll
            Christy-Correll last edited by

            Hi William, thanks for your question! You've received some great responses. Did any help you solve your problem? If so, please mark one or both as "good answers." And if not, please give us an update on the issue you are dealing with, thanks!

            Christy 🙂

            1 Reply Last reply Reply Quote 0
            • wzimmer
              wzimmer @GlobeRunner last edited by

              Hey Eric,

              Your last answer was very helpful, thank you! We were able to fix the redirects so the "www.company.com" pages redirected to the "company.com" pages, or so we thought. Our last crawl is showing us that on top of the duplicate page issues we know have "11% of site pages served 404 errors during the last crawl."

              Do you have any insights on where we might have gone wrong?

              Thanks again!

              1 Reply Last reply Reply Quote 0
              • Christy-Correll
                Christy-Correll last edited by

                Thanks for marking those good answers, William. I'm so glad they were helpful to you!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Our Web Site Is candere.com. Its PA and back link status are different for https://www.candere.com, http://www.candere.com, https://candere.com, and http://candere.com. Recently, we have completely move from http to https.
                  94501
                  94501
                  0
                  3
                  102

                • I've got duplicate pages. For example, blog/page/2 is the same as author/admin/page/2\. Is this something I should just ignore, or should I create the author/admin/page2 and then 301 redirect?
                  BeanstalkIM
                  BeanstalkIM
                  0
                  5
                  414

                • HELP! How does one prevent regional pages as being counted as "duplicate content," "duplicate meta descriptions," et cetera...?
                  Alex-Harford
                  Alex-Harford
                  0
                  2
                  107

                • My site rank is not consistent. Once it at first page , then for the next week it is not found in top 100 position. Again two/ three weeks later it ranked automatically without any work. Why this is happening?
                  coldfireinc
                  coldfireinc
                  0
                  3
                  252

                • End of March we migrated our site over to HubSpot. We went from page 3 on Google to non existent. Still found on page 2 of Yahoo and Bing. Beyond frustrated...HELP PLEASE "www.vortexpartswashers.com"
                  Jben
                  Jben
                  0
                  4
                  484

                • Duplicate Content http://www.website.com and http://website.com
                  KeriMorgret
                  KeriMorgret
                  0
                  6
                  683

                • Posing QU's on Google Variables "aclk", "gclid" "cd", "/aclk" "/search", "/url" etc
                  0
                  1
                  2.3k

                • 1 of the sites i work on keeps having its home page "de-indexed" by google every few months, I then apply for a review and they put it back up. But i have no idea why this keeps happening and its only the home page
                  RyanKent
                  RyanKent
                  0
                  7
                  606

                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