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. 301 duplicate content dynamic url

    301 duplicate content dynamic url

    Technical SEO Issues
    9 3 675
    • 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.
    • dashinfashion
      dashinfashion last edited by

      I have a number of pages that appear as duplicate titles in google webmaster. They all have to do with a brand name query. I want to 301 these pages since I'm going to relaunch my new website on wordpress and don't want to have 404s on these pages. a simple 301 redirect doesn't work since they are dynamic urls.

      here is an example:

      /kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance

      /kidsfashionnetherlands/mimpi.html?q=mim+pi&page=3&sort=relevance

      /kidsfashionnetherlands/mimpi.html?q=mim+pi&page=5&sort=relevance

      should all be 301 to the original page that I want to remain indexed:

      /kidsfashionnetherlands/mimpi.html

      I have a lot of these but for different queries. Should I do a 301 on each of them to avoid having 404s when I change my site to wordpress?

      Thanks

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

        Have you seen the URL parameter tool in Google Webmaster Tools?  It's made just to handle these kinds of situations:

        http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1235687

        But, there's no reason you can't setup redirects for all of these URLs, but it's probably going to be time consuming to figure out all of the possible URL combinations that you have and where to redirect them to.

        dashinfashion 1 Reply Last reply Reply Quote 0
        • mad2k
          mad2k last edited by

          Hi,

          Your title for all these pages is:

          <title>Mim Pi Netherlands Holland Dutch Clothes Girls Clothes Girls Dresses Baby Clothes Kids Fashion Mim Pi Children's Clothing Girls Fashion Designer</title>

          and it is the same. In my opinion if you can not differentiate titles  the best solution is to "noindex" search queries pages.

          Marek

          dashinfashion 1 Reply Last reply Reply Quote 0
          • dashinfashion
            dashinfashion @AgentsofValue last edited by

            I setup the url parameter tool yesterday blocking out these pages but my concern is that when I relaunch my website I'll have lots of 404s.

            I thought of also doing the 301 redirect for pages listed in google webmaster as duplicate pages but I can't figure out the right script. A simple 301 redirect won't work because its a dynamic url.

            Do you know how to setup a dynamic 301? For example: http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance

            redirected to: http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html

            Thanks!

            1 Reply Last reply Reply Quote 0
            • dashinfashion
              dashinfashion @mad2k last edited by

              Thanks for your reply. I'm actually going to relaunch a new site and want to get rid of these duplicate pages. I don't have access to these duplicated pages to put the noindex.

              Thought of doing a 301 since these pages will be eliminated with the new website. Any idea how to do a 301 for a dynamic url?

              mad2k dashinfashion AgentsofValue 4 Replies Last reply Reply Quote 0
              • mad2k
                mad2k @dashinfashion last edited by

                Employ .htaaccess redirect.

                Google article

                generator

                Marek

                1 Reply Last reply Reply Quote 1
                • dashinfashion
                  dashinfashion @dashinfashion last edited by

                  Thanks Marek, I know how to do a simple 301 redirect, which the generator creates but it doesn't work for a dynamic url : http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html?q=brand%3Amim+pi%3A&page=2&sort=relevance to http://www.dashinfashion.com/kidsfashionnetherlands/mimpi.html

                  Any idea how to do this with a dynamic url?

                  1 Reply Last reply Reply Quote 0
                  • AgentsofValue
                    AgentsofValue @dashinfashion last edited by

                    It's really going to be a bit complex to get this done right.  But based your example above, it looks like you just want to redirect anything with a query string back to the base url.

                    There's a discussion specifically about that right here:

                    http://www.webmasterworld.com/apache/3203401.htm

                    You could start with this code and refine it from there:

                    RewriteCond %{QUERY_STRING} .
                    RewriteRule (.*) http://www.example.com/$1? [R=301,L]

                    Good luck.

                    1 Reply Last reply Reply Quote 1
                    • dashinfashion
                      dashinfashion @dashinfashion last edited by

                      I can't believe it but it worked! I've been trying to fix this for days....Thanks so much for you help!

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • When is Duplicate Content Duplicate Content
                        AMHC
                        AMHC
                        0
                        6
                        169

                      • Affiliate urls and duplicate content
                        Memoz
                        Memoz
                        0
                        7
                        413

                      • Duplicate content with same URL?
                        PatioLifeStyle
                        PatioLifeStyle
                        0
                        7
                        547

                      • Category URL Duplicate Content
                        MagnetsUSA
                        MagnetsUSA
                        0
                        3
                        329

                      • Duplicate Content and URL Capitalization
                        Marcus_Miller
                        Marcus_Miller
                        0
                        9
                        5.7k

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

                      • Duplicate content error from url generated
                        pauledwards
                        pauledwards
                        0
                        4
                        333

                      • 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