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
              • Clean URL vs. Parameter URL and Using Canonical URL...That's a Mouthfull!
                Roman-Delcarmen
                Roman-Delcarmen
                0
                4
                170

              • Canonical sitemap URL different to website URL architecture
                StephanSolomonidis
                StephanSolomonidis
                0
                3
                105

              • URL Change, Old URLs Still In Index
                ShawnW
                ShawnW
                0
                3
                118

              • We have designed a new site and are in dilemna whether or not to change the site's URL structure or maybe few odd looking urls. How exactly do we go about the URL thing in toto? thanks in advance, any suggestion(s) would be dearly welcome
                ShaunPhilips
                ShaunPhilips
                1
                7
                109

              • What is the best practice to seperate different locations and languages in an URL? At the moment the URL is www.abc.com/ch/de. Is there a better way to structure the URL from an SEO perspective?
                irvingw
                irvingw
                0
                2
                64

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

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

              • 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