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
              • What to do with existing URL when replatforming and new URL is the same?
                GPainter
                GPainter
                0
                4
                37

              • 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

              • Absolute URL or Relative URL in my sitemap?
                brianvest
                brianvest
                0
                3
                9.6k

              • If a URL canonically points to another link, is that URL indexed?
                Coolguyry
                Coolguyry
                0
                4
                120

              • 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

              • Crawl reveals hundreds of urls with multiple urls in the url string
                irvingw
                irvingw
                0
                5
                455

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

              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