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. Moz Tools
    4. How to resolve recurring 302 redirects?

    How to resolve recurring 302 redirects?

    Moz Tools
    4 2 199
    • 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.
    • MrLeeB
      MrLeeB last edited by

      In my Moz site crawl there is a fluctuating number of 302 redirect pages that don't physically exist - most are through a 'compare product' option. The number of 302s varies significantly by how many pages Rogerbot has crawled - the more pages crawled, the higher the number of 302s, so I'm pretty sure it's the 'compare product' that's causing the issue.

      I can't find a way to remove the compare product button so I need another way to resolve it.  I can;t canonicalise the pages as they don't exist as such. Does anyone have any ideas?

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

        Hi there!

        Good question. First of all, it sounds like the 302 is necessary for the functionality of the site. If I'm understanding correctly, a user has the option to add an item on your site to a "compare" cart and if a user does that the page reloads (with the item in the "compare" cart) as a 302. Often times this is done with a parameter.

        So it looks something like this?

        /example-product/ > 302 > /example-product/?compare=list

        If this is the case, I would try taking that parameter and letting Google know not to crawl pages that have it in. You can do this in Google Search Console. Here's a great guide from Google on parameters, exclusions, and what we can do with them.

        Please let me know if I misunderstood the question. Hope that helps!

        MrLeeB 1 Reply Last reply Reply Quote 1
        • MrLeeB
          MrLeeB @sergeystefoglo last edited by

          Hi Sergey,

          You're spot on with the question and to be honest I feel a bit daft for not thinking of parameters before! (Doh!) But it doesn't seem to be an issue with Google - only other bots like Moz and Screaming Frog seem to pick it up which strikes me as strange.

          Thanks for your answer though - very helpful! 🙂

          sergeystefoglo 1 Reply Last reply Reply Quote 1
          • sergeystefoglo
            sergeystefoglo @MrLeeB last edited by

            In that case I wouldn't worry 🙂

            If you want to crawl a version of your site without those parameters Screaming Frog allows you to exclude any specific parameters by going to configuration > URL rewriting.

            Best of luck!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • "redirects" with no "redirect address"?
              damon1212
              damon1212
              0
              4
              119

            • Redirects, SEO and More
              RuthBurrReedy
              RuthBurrReedy
              0
              3
              185

            • Redirecting back to initial redirect.
              MonicaOConnor
              MonicaOConnor
              0
              4
              182

            • Do 302 temporary redirect harm?
              LauraHT
              LauraHT
              0
              8
              411

            • 302 redirects
              PaddyDisplays
              PaddyDisplays
              0
              6
              236

            • 301 Permanently Moved Redirect
              rdominey
              rdominey
              0
              5
              459

            • Crawling a website with redirects
              heatherrobinson
              heatherrobinson
              0
              2
              535

            • 302 (Temporary Redirect) & HTTPS - how to improve for SEO?
              NiallTom
              NiallTom
              0
              4
              1.2k

            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