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. How do I stop www.mysite.com/ showing as a duplicate of www.mysite.com

    How do I stop www.mysite.com/ showing as a duplicate of www.mysite.com

    Technical SEO Issues
    5 4 509
    • 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.
    • ske11
      ske11 last edited by

      I have run the campaigns software over a site and it is showing that www.mysite.com/ is a duplicate of www.mysite.com, how do I correct this?

      Is it a genuine duplicate page?

      My first thought was to use rel canonical but there is no page called / to put it on.

      Your suggestions welcomed

      Sean

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

        You should put the rel=canonical tag on the index page of your site. It could either be the index.html (or any extension), or if it is a cms, whatever home page you specify from within it. The rel=canonical tag will specify any of the pages to register as the mysite.com (or mysite.com/) if you specify it. This should solve your duplicate content issue.

        bronxpad 1 Reply Last reply Reply Quote 2
        • bronxpad
          bronxpad @ZacharyRussell last edited by

          What about using a 301 Redirect? Would that help as well? If so is the PHP version a good option if you don't have access to the htaccess?

          ZacharyRussell 1 Reply Last reply Reply Quote 0
          • ZacharyRussell
            ZacharyRussell @bronxpad last edited by

            You could use a 301 redirect in theory, BUT the purpose of using a 301 redirect is when a page has moved. When you are talking about mysite.com and mysite.com/ there is no two different pages, they are just different versions of the same link, just like mysite.com/index.html is the same page, when put the rel=canonical tag, you specify that these are all the same page, and the preferred version of that link.

            1 Reply Last reply Reply Quote 0
            • Dr-Pete
              Dr-Pete last edited by

              It's not usually a big issue these days, but I'd agree with Zach that the canonical is probably your best bet. Since it's all one page, you just have to put the canonical on either version - they both resolve to the same place. To Google, any URL variation is a new "page", but there's just one page of HTML/code on your site.

              Make sure your internal links are consistent. The most common problem is when you're linking to both versions. It's not a disaster, but it can send mixed signals to crawlers (including Google's and ours').

              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

              • Google Sites website https://www.opcfitness.com/ title NOT GOOD FOR SEO
                MiriamEllis
                MiriamEllis
                0
                2
                51

              • Www.xyz.com v/s xyz.com creating duplicate pages
                JaneCopland
                JaneCopland
                0
                8
                1.4k

              • How best to deal with www.home.com and www.home.com/index.html
                donford
                donford
                0
                4
                494

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

              • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
                fthead9
                fthead9
                0
                3
                729

              • Duplicate Homepage: www.mysite.com/ and www.mysite.com/default.aspx
                MaryAnneG
                MaryAnneG
                0
                4
                2.3k

              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