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. How to resolve Duplicate Content crawl errors for Magento Login Page

    How to resolve Duplicate Content crawl errors for Magento Login Page

    Moz Tools
    5 3 2.5k
    • 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.
    • kdl0
      kdl0 last edited by

      I am using the Magento shopping cart, and 99% of my duplicate content errors come from the login page.  The URL looks like:

      http://www.site.com/customer/account/login/referer/aHR0cDovL3d3dy5tbW1zcGVjaW9zYS5jb20vcmV2aWV3L3Byb2R1Y3QvbGlzdC9pZC8xOTYvY2F0ZWdvcnkvNC8jcmV2aWV3LWZvcm0%2C/

      Or, the same url but with the long string different from the one above.  This link is available at the top of every page in my site, but I have made sure to add "rel=nofollow" as an attribute to the link in every case (it is done easily by modifying the header links template).

      Is there something else I should be doing?  Do I need to try to add canonical to the login page?  If so, does anyone know how to do it using XML?

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

        You should really just add that to your disallow list in your robots.txt file. That's the easiest method.

        <code>User-agent:  *  Disallow:  /customer/</code> 
        

        More information on RogerBot.

        kdl0 1 Reply Last reply Reply Quote 0
        • kdl0
          kdl0 @deltasystems last edited by

          that's an interesting idea, I'm going to post my solution for adding "canonical" to the login page after I test to see if the crawler will stop complaining as a result of that.

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

            OK, I figured out how to add a canonical link to the magento login page.  I put this in my local.xml file (/app/design/frontend/<designpackage>/<theme>/layout/local.xml) : </theme></designpackage>

            <customer_account_login><reference name="head"><action method="addLinkRel"><rel>canonical</rel><href>http://www.site.com/customer/account/login/</href></action></reference></customer_account_login>

            As for whether or not this will get rid of the crawl errors, I won't know until Roger tries again, will report back later.

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

              I realize this is a very old post, but we have found the same issue. We added this to our robots file:

              Disallow: /customer/account/login/referer/

              When the next crawl runs, will these be removed from the 'Crawl Diagnostics' report automatically?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Pages with Duplicate Page Content Nov
                TheSymmetran
                TheSymmetran
                0
                2
                94

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

              • How to Avoid Duplicate Page Content errors when using Wordpress Categories & Tags?
                paints-n-design
                paints-n-design
                1
                2
                298

              • Multiple Countries, Same Language: Receiving Duplicate Page & Content Errors
                katemorris
                katemorris
                0
                5
                1.4k

              • Crawl report - duplicate page title/content issue
                SEOAndy
                SEOAndy
                0
                4
                203

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

              • Why am I getting duplicate content errors on same page?
                CIEEwebTeam
                CIEEwebTeam
                0
                5
                606

              • Crawl Diagnostics bringing 20k+ errors as duplicate content due to session ids
                Gareth_Cartman
                Gareth_Cartman
                0
                5
                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