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. On-Page / Site Optimization
    4. Google Treating these URL's as diff, but they are same. please help

    Google Treating these URL's as diff, but they are same. please help

    On-Page / Site Optimization
    3 3 124
    • 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.
    • AnkammaRao
      AnkammaRao last edited by

      Google is treating, below URL's as two different URL's when they are same.  How to solve this. Please help. Case 1:/2570/Venture-Capital-and-Capital-Markets/2570/venture-capital-and-capital-marketsCase 2: /xxx/Java-Programming//xxx/Java-ProgrammingPlease help, how to solve this. Thanks in advance

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

        What you're dealing with is duplicate content caused by URL inconsistencies. My first move would be to implement rel="canonical" tags to tell search bots which is the preferred URL (lower-case, then either with or without the trailing-slash). You can read more about it here: http://moz.com/blog/rel-confused-answers-to-your-rel-canonical-questions

        I always use the Moz bar on the actual Moz site to see how things should be implemented - that's allowed, right? 😉 & I noticed that they have added rel=canonical site-wide (to prevent any unforeseen dup content issues). You can see an example of how it's used by viewing the source code here: moz.com/rand/category/archives/events/ and http://moz.com/rand/category/events/

        Before you take any action, though, **you need to determine the preferred structure for all URLs on the site. **

        1 Reply Last reply Reply Quote 3
        • digitalcrc
          digitalcrc last edited by

          Sounds like you're on .NET (or something case-sensitive). The best way to deal with this in my opinion is at the server level, by only allowing lowercase URLs. This is how you would implement this in .NET:

            <match url="[A-Z]" ignorecase="false"></match>
          

          <action type="Redirect" url="{ToLower:{URL}}" appendquerystring="true"></action>

          Canonical tags are technically an option, but you will have to manually add them each and every time this issue occurs (and stay on top of it as an ongoing action item). It's almost always preferable to have each page accessible from a single URL if at all possible. Automatically adding self-referencing canonicals would probably just exacerbate the problem since they uppercase pages would still be pointing to the uppercase pages, lowercase to lowercase, etc.

          I would strongly suggest defaulting to lowercase over uppercase URLs to stay consistent with other sites on the internet (also, most linking sites will assume lowercase when linking to your site).

          The good news is this a fairly common, fixable problem 🙂

          If your site is in fact using .NET, this article is a good starting point (#2 is where I got the above code snippet from).

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Duplicate URL errors when URL's are unique
            DirkC
            DirkC
            0
            2
            96

          • How do I cure 'overly dynamic' url's on an e-commerce website?
            CherryK
            CherryK
            0
            3
            430

          • Number ID's in URL's
            simmo235
            simmo235
            0
            3
            174

          • ECommerce URL's
            Everett
            Everett
            0
            3
            728

          • Help with Renaming URL's
            Marcus_Miller
            Marcus_Miller
            0
            4
            517

          • Is it good to have dashes in url's
            BradBorst
            BradBorst
            0
            6
            846

          • What's better now? A super-short URL structure or a slightly longer, more descriptive URL structure?
            seowebjunction
            seowebjunction
            0
            4
            1.2k

          • Site URL's
            portalseo
            portalseo
            0
            8
            1.4k

          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