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

                • Duplicate pages coming from links from the login page - what should we do about them?
                  Carson-Ward
                  Carson-Ward
                  0
                  5
                  297

                • Moz is treating my pages as duplicate content but the pages have different content in reality
                  clestcruz
                  clestcruz
                  0
                  3
                  168

                • 'Duplicate Page Content' for dissimilar pages
                  PatrickDelehanty
                  PatrickDelehanty
                  0
                  2
                  80

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

                • The pages that add robots as noindex will Crawl and marked as duplicate page content on seo moz ?
                  DougRoberts
                  DougRoberts
                  0
                  2
                  210

                • How Do I deal with duplicate page titles for pages on eCommerce site
                  wouldBseoKING
                  wouldBseoKING
                  0
                  3
                  415

                • "Duplicate Page Title" and "Duplicate Page Content" issue
                  JoeBrewer
                  JoeBrewer
                  0
                  3
                  421

                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