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. Moz Tools
    4. Duplicate Page

    Duplicate Page

    Moz Tools
    6 3 122
    • 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.
    • Getmp3songspk
      Getmp3songspk last edited by

      I just Check Crawl the status error with Duplicate Page Content.  As Mentioned Below.

      Songs.pk | Download free mp3, Hindi Music, Indian Mp3 Songs

      http://www.getmp3songspk.com

      Songs.pk | Download free mp3, Hindi Music, Indian Mp3 Songs

      http://getmp3songspk.com          and then i added these lines to my htaccess file

      RewriteBase /
      RewriteCond %{HTTP_HOST} !^www.getmp3songspk.com$ [NC]
      RewriteRule ^(.*)$ http://www.getmp3songspk.com/$1 [L,R=301]

      But Still See that error again when i crawl a new test.

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

        Not sure what you want to achieve with these lines - but both url's are still accessible.

        If you want to redirect www to non-www use this:

        RewriteEngine On
        RewriteBase /
        RewriteCond %{HTTP_HOST} ^www.(.)$ [NC]
        RewriteRule ^(.
        )$ http://%1/$1 [R=301,L]

        (http://stackoverflow.com/questions/234723/generic-htaccess-redirect-www-to-non-www)

        Other way round:

        RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www.
        RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

        (http://stackoverflow.com/questions/12050590/redirect-non-www-to-www-in-htaccess)

        Dirk

        Getmp3songspk 1 Reply Last reply Reply Quote 3
        • Guest
          Guest last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Getmp3songspk
            Getmp3songspk @DirkC last edited by

            Thanks For your Answer,  So i understand the error  and now give me a good htaccess code

            i want     getmp3songspk.com, getmp3songspk.com/ and www.getmp3songspk.com/ to redricet  http://www.getmp3songspk.com    So that i can avoid duplicate urls

            Currently i have

            RewriteCond %{HTTP_HOST} !^www.getmp3songspk.com$ [NC]
            RewriteRule ^(.*)$ http://www.getmp3songspk.com/$1 [L,R=301]

            Suggest me a good code to avoid duplicate issue forever.

            DirkC 1 Reply Last reply Reply Quote 0
            • DirkC
              DirkC @Getmp3songspk last edited by

              To remove the trailing slash - check http://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url & try one of the answers proposed there. Than add the 2 lines from the 2nd example in my first answer.

              Dirk

              Getmp3songspk 1 Reply Last reply Reply Quote 2
              • Getmp3songspk
                Getmp3songspk @DirkC last edited by

                Very Thanks to you Sir.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Duplicate Content on a page that isn't duplicate?
                  Vanderlindemedia
                  Vanderlindemedia
                  0
                  6
                  52

                • Pages with Duplicate Page Content Nov
                  TheSymmetran
                  TheSymmetran
                  0
                  2
                  94

                • Duplicate Content: Marketing Page / Content Page
                  AllMedSeo
                  AllMedSeo
                  0
                  3
                  136

                • Duplicate Page Content on pages that appear to be different?
                  MonicaOConnor
                  MonicaOConnor
                  0
                  5
                  111

                • Roger found Duplicate Page Content, but all my pages are canonicalized
                  Dr-Pete
                  Dr-Pete
                  0
                  7
                  367

                • I have another Duplicate page content Question to ask.Why does my blog tags come up as duplicates when my page gets crawled,how do I fix it?
                  PCTechGuy2012
                  PCTechGuy2012
                  0
                  4
                  515

                • How do i get rid of a duplicate page error when you can not access that page?
                  tom14cat14
                  tom14cat14
                  0
                  5
                  619

                • To many warnings on duplicate pages or on-page links( -ve ranking i think)
                  Orrouk
                  Orrouk
                  0
                  14
                  1.8k

                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