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 fix these duplicate URLs?

    How do I fix these duplicate URLs?

    Technical SEO Issues
    7 6 761
    • 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.
    • paulmund
      paulmund last edited by

      HI guys, I ran a report on my site and it shows some duplicate titles (example below).

      Do I need to add something to the htaccess file or another file to fix this? I understand that the search engines should only see 1 URL for the page.

      2 pages have "Bikes for sale | used bikes | second hand bicycles" title

      pauslwebsite.com/bikes/

      paulswebsite.com/bikes/index.asp

      Thanks

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

        hello, it depends,

        1. what is the site built on, if its something like wordpress its an easy fix. you may want to think about the links coming in.

        2. Use the on page optimiser to get more insight  - pro tools .

        hope this helps, I am by no means a know it all but there is my take on it.

        best,

        Vijay

        1 Reply Last reply Reply Quote -1
        • lavellester
          lavellester last edited by

          One take on this would be to add a 301 redirect one of the URLs onto to the other.  As Vjay mentioned this would look after any inbound links to the page.

          this post has some good info also

          http://www.seomoz.org/blog/301-redirect-or-relcanonical-which-one-should-you-use

          1 Reply Last reply Reply Quote 1
          • Autobytel
            Autobytel last edited by

            Set your canonical tags

            http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

            wojkwasi 1 Reply Last reply Reply Quote 2
            • wojkwasi
              wojkwasi @Autobytel last edited by

              Agree

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

                As Autobytel mentioned, specifying the canonical would be the way to go.. considering you also have www & non www versions:

                • http://thegorillafirm.com/bikes/
                • http://thegorillafirm.com/bikes/index.asp
                • http://www.thegorillafirm.com/bikes/
                • http://www.thegorillafirm.com/bikes/index.asp
                1 Reply Last reply Reply Quote 2
                • rasmusbang
                  rasmusbang last edited by

                  You have two changes I think you need to do. As Woj Kwasi says, you have URLs with and without "www.".

                  I would most definately redirect the non-www traffic to www-URLs. Add the redirect in your .htaccess:

                  RewriteEngine On

                  RewriteCond %{HTTP_HOST} ^thegorillafirm.com [NC]

                  RewriteRule ^(.*)$ http://www.thegorillafirm.com/$1 [L,R=301]

                  Furthermore you need to set canonical links:

                  http://thegorillafirm.com/bikes/">

                  This should be set in the index.asp file header. In a similar way you should set this for:
                  http://thegorillafirm.com/surf/
                  http://thegorillafirm.com/snow/

                  This should help you remove the duplicate content warnings.

                  Best regards,

                  Rasmus

                  1 Reply Last reply Reply Quote 2
                  • 1 / 1
                  • First post
                    Last post
                  • I'm struggling to understand (and fix) why I'm getting a 404 error. The URL includes this "%5Bnull%20id=43484%5D" but I cannot find that anywhere in the referring URL. Does anyone know why please? Thanks
                    Nichole.wynter2020
                    Nichole.wynter2020
                    0
                    3
                    28

                  • What is best practice for fixing urls that have duplicate content, non-static and other issues?
                    Stramark
                    Stramark
                    0
                    4
                    108

                  • How to fix these unwanted URLs?
                    ThompsonPaul
                    ThompsonPaul
                    0
                    9
                    194

                  • 20 000 duplicates in Moz crawl due to Joomla URL parameters. How to fix?
                    Milian
                    Milian
                    0
                    3
                    229

                  • Content and url duplication?
                    TommyTan
                    TommyTan
                    0
                    2
                    531

                  • Website url duplication issues
                    massimobrogi
                    massimobrogi
                    0
                    6
                    310

                  • Duplicate content error - same URL
                    KeriMorgret
                    KeriMorgret
                    1
                    6
                    439

                  • Drupal URL Aliases vs 301 Redirects + Do URL Aliases create duplicates?
                    YannickVeys
                    YannickVeys
                    0
                    4
                    2.5k

                  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