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. Intermediate & Advanced SEO
    4. Duplicate Errors from Wordpress login redirects

    Duplicate Errors from Wordpress login redirects

    Intermediate & Advanced SEO
    6 3 750
    • 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.
    • GregDixson
      GregDixson last edited by

      I've some Duplicate issues showing up in Moz Analytics which are due to a Q&A plugin being used on a Wordpress website which prompts the user to login. There's a number of links looking like the one shown below, which lead to the login page:

      www.website.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.website.com%question%2....

      What's the best way to deal with this?

      --

      extra info:

      • this is only showing up in Moz Analytics. Google Webmaster Tools reports no duplicates.. I'm guessing this is maybe down to the 'redirect_to' parameter being effective in grouping the URLs for Googlebot.

      • currently the wplogin and consequent redirects are 'noindex, follow' - I cannot see where this is being generated from in wp-login.php to change this to nofollow (if this will solve it).

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

        Always for Login and Logout pages use ( NOINDEX - NOFOLLOW ) so you will not face problems like this again.

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

          Greg

          Generally if you're not seeing this in Webmaster Tools or Screaming Frog (have you tried a crawl there yet?) then it's probably not an issue. Crawl it with Screaming Frog, and if you maintain the default settings (honor robots.txt and don't follow nofollows) and set to Googlebot, this will be a pretty accurate representation of what Google is doing. If the pages don't pop up, you should be fine.

          Also, check webmaster tools for "crawl stats" - on average, is Google crawling an abnormal amount of pages compared to the "normal" site size?

          If it is a problem, you can always block them with robots.txt

          -Dan

          GregDixson 1 Reply Last reply Reply Quote 1
          • GregDixson
            GregDixson @evolvingSEO last edited by

            Thanks Dan, that's really helpful...

            Webmaster Tools reports no crawl issues or anything strange and the crawled pages matches the site size. I've performed a Screaming Frog crawl with the suggested settings, and it IS seeing those redirected pages - 48 in total - which matches the number Moz Analytics is reporting.

            The actual page these redirected URL's end up at is a CATCHA page - This is an unneeded layer of 'extra' security put in place by the hosting company after the spate of Wordpress hacks last year. (Cookie'd users who have recently passed the CATCHA would arrive at the Wordpress login page) As such, we don't have any control over the code on that page or anything.

            So I guess that even though WMT isn't complaining about these duplicates, to keep things clean and tidy then blocking with robots.txt is the solution huh.

            evolvingSEO 1 Reply Last reply Reply Quote 0
            • evolvingSEO
              evolvingSEO @GregDixson last edited by

              Greg

              That's right, the best way is to block crawling with robots.txt - makes sense to keep crawling clean and efficient. If you're using Yoast you can edit robots.txt right in there, or you can do via FTP.

              GregDixson 1 Reply Last reply Reply Quote 1
              • GregDixson
                GregDixson @evolvingSEO last edited by

                Yea I'd already blocked some duplicates from a BuddyPress issue, so I didn't want to just jump in and block straight away without some further investigation. Good to know that's the best solution to keep things clean. Cheers for answering Dan.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Setting up redirects from non wordpress
                  Taiger
                  Taiger
                  0
                  3
                  77

                • Duplicate page content errors for Web App Login
                  katemorris
                  katemorris
                  0
                  2
                  185

                • Duplicate page wordpress title
                  evolvingSEO
                  evolvingSEO
                  1
                  7
                  175

                • Redirecting, then redirecting back
                  Highland
                  Highland
                  0
                  2
                  256

                • Login redirect 302
                  Anthony_NorthSEO
                  Anthony_NorthSEO
                  0
                  9
                  2.3k

                • Duplicate description problem in Wordpress.
                  petrospan
                  petrospan
                  0
                  6
                  716

                • Duplicate titles but redirecting anyway (without redirects set up!!!)
                  JGar-28032
                  JGar-28032
                  1
                  2
                  348

                • How do I fix the error duplicate page content and duplicate page title?
                  rtavs
                  rtavs
                  0
                  4
                  467

                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