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. What to do with 302 redirects being indexed

    What to do with 302 redirects being indexed

    Technical SEO Issues
    4 2 403
    • 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.
    • etruvian
      etruvian last edited by

      Hi there,

      Our site's forums include permalinks that for some reason uses an intermediary URL that 302 redirects to the URL with the permalink anchor.

      For example:

      http://en.tradimo.com/learn/chart-analysis/time-frames/

      In the comments, there is a permalink to the following URL;

      en.tradimo.com/co/50c450005f2b949e3200001b/  (there is no content here, and never has been).  This URL 302 redirects to the following final URL:

      http://en.tradimo.com/learn/chart-analysis/time-frames/?offset=0&limit=20#50c450005f2b949e3200001b

      The problem is, Google is indexing the redirect URL (en.tradimo.com/co/50c450005f2b949e3200001b/) and showing duplicate content even though we are using the nofollow tag on these links.

      Ideally, we would directly use the last link rather than redirecting.  Alternatively, I'd say a 301 redirect would be preferable.  But if both aren't available, is there a way to get these pages out of the index?

      Is the canonical tag the best way?  I really wish I could just add /co/ to the robots.txt file, but I think they would still be in the index, right?

      Thanks for your help!

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

        Hey,

        Adding /co/ to your robots.txt will sort this out long term and you can remove these pages (or at least hasten the removal of them) in Google Webmaster Tools.

        I have seen this approach before where a 302 page is used as a proxy to do some processing and then forwards on to something else. Not ideal from a Search perspective as this is a temporary redirect being used in a permanent situation.

        Hope that helps!
        Marcus

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

          That's helpful, I will do that.  Thanks Marcus!

          Marcus_Miller 1 Reply Last reply Reply Quote 0
          • Marcus_Miller
            Marcus_Miller @etruvian last edited by

            Pleasure. 🙂

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Redirect indexed lightbox URLs?
              0
              1
              63

            • 301 Redirects, Sitemaps and Indexing - How to hide redirected urls from search engines?
              LoganRay
              LoganRay
              0
              4
              3.0k

            • Redirecting 301 or 302?
              HypermediaSystems
              HypermediaSystems
              0
              5
              223

            • How to redirect index.htm (IIS server, windows hosting) to index.php (Apache server, Linux Hosting) ?
              Cyrus-Shepard
              Cyrus-Shepard
              0
              8
              4.1k

            • 301 redirects reverting to 302 redirects
              Devanur-Rafi
              Devanur-Rafi
              0
              6
              532

            • Do search engines treat 307 redirects differently from 302 redirects?
              CarsProduction
              CarsProduction
              0
              3
              710

            • Compare URLs with 302 redirects
              edwardpconway
              edwardpconway
              0
              4
              992

            • Redirect or not to redirect
              AlanMosley
              AlanMosley
              0
              7
              458

            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