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

              • 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

              • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
                Booj
                Booj
                0
                4
                113

              • How best to deal with www.home.com and www.home.com/index.html
                Creatomatic
                Creatomatic
                0
                6
                315

              • Ideally should a 301 or 302 redirect be used from https://www.site.com to http://www.site.com? Is there a valid reason to use a 302 in this situation or would using a 301 have any negative impact on seo?
                Unity
                Unity
                0
                2
                317

              • 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

              • 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

              • 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