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. Redirect_to in URLs?

    Redirect_to in URLs?

    Technical SEO Issues
    5 3 123
    • 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.
    • KatherineWatierOng
      KatherineWatierOng last edited by

      I've never seen this before. I'm assuming that it's not SEO friendly and that these should be 301s or 302s instead?

      http://ksa-beta.motory.com/ar/login/?redirect_to=http://ksa-beta.motory.com/ar/cars-for-sale-search/results/central/riyadh/ford/explorer/2010/ford-explorer-2010-1038353

      http://ksa-beta.motory.com/ar/login/?redirect_to=http://ksa-beta.motory.com/ar/account/my-saved-searches/

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

        Don't redirect them, if you redirect those URLS, people will not be allowed to log in. When you are in a page and want to login, the URL has that variable, so when you logged succesfully you can go back to the page you were. E.g. Log from here http://ksa-beta.motory.com/en/dealers-search/ and you will get this http://ksa-beta.motory.com/en/login/?redirect_to=http://ksa-beta.motory.com/en/dealers-search

        Instead redirect them and in order to save crawl budget, I suggest to:

        • Add a nofollow for that <a href="">in the template</a>
          <a href="">* Set up in Google Search Console that variable don't affect page content* Any other method the community can suggest</a>
        RobertFisher 1 Reply Last reply Reply Quote 3
        • RobertFisher
          RobertFisher @antonioaraya last edited by

          Antonio,

          Really nice answer here.

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

            As Antonio says, you do not want to affect your ability to have people login. His answer is well thought out.

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

              Thanks all for your great suggestions!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Adding a parameter to the URL / URL Stracture
                Roman-Delcarmen
                Roman-Delcarmen
                0
                2
                58

              • WP URL issue - Concatenated URLs (LOTS of them)
                Nigel_Carr
                Nigel_Carr
                0
                2
                32

              • Parked former company's url on top of my existing url and that URL is showing in SERPs for my top keywords
                Joelabarre
                Joelabarre
                0
                7
                120

              • Friendly URLS (SEO urls)
                irvingw
                irvingw
                0
                5
                217

              • Old URL redirect to New URL
                Dr-Pete
                Dr-Pete
                0
                7
                695

              • Should we block URL param in Webmaster tools after URL migration?
                gmk1567
                gmk1567
                0
                2
                594

              • Directory URL structure last / in the url
                DavidS-282061
                DavidS-282061
                0
                6
                1.4k

              • When URL rewrite can lead to un pretty URLs
                RyanOD
                RyanOD
                1
                8
                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