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. Pages giving both 200 and 302 reponce codes?

    Pages giving both 200 and 302 reponce codes?

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

      We are having some issues with response codes on our product pages  on our new site. It first came to my attention with the mozbot crawl which was picking up 1000s of 302 redirects, but when I checked them manually there was no redirect (and even the moz toobar was giving a 200 status)

      I then check with this tool

      http://tools.seobook.com/server-header-checker/?page=single&url=https%3A%2F%2Fwww.equipashop.ie%2Fshop-fittings-retail-equipment%2Fgridwall%2Fgridwall-shelves%2Fflat-gridwall-shelf.html&useragent=2&typeProtocol=11
      And its showing that there are 2 responses at 302 and a 200  ( but with the same bot under googlebot setting only shows the 200 status). I'm also getting no warning about it in WMTs

      Does anyone know what's happening here and how worried about it should I be as it seems goggle is using only the 200 status

      btw the developer thinks it something to do with how the browser is handling the canonicallink, but I'm not convinced

      Thanks

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

        Hi,

        The message you get from the seobook tool is quite straightforward - trying the url https://www.equipashop.ie/shop-fittings-retail-equipment/gridwall/gridwall-shelves/flat-gridwall-shelf.html generates a 302

        Then the tool tries the redirect url (https://www.equipashop.ie/flat-gridwall-shelf.html) - which gives status 200.

        When I visited the site myself - on first visit - I was redirected to https://www.equipashop.ie/flat-gridwall-shelf.html - when I tried a second visit - I remained on https://www.equipashop.ie/shop-fittings-retail-equipment/gridwall/gridwall-shelves/flat-gridwall-shelf.html

        I tried again using Incognito browsing - and again I was redirected. I think it has something to do with your cookie settings - when I disable cookies I am always redirected.

        Hope this solves your question. Apart from that, if you want to redirect the URL - it's better to use a 301 than a 302

        rgds,

        Dirk

        PaddyDisplays 1 Reply Last reply Reply Quote 1
        • PaddyDisplays
          PaddyDisplays @DirkC last edited by

          Thanks for that Dirk, there should be no redirect at all, let alone a 302 redirect, but now I have a good idea what's going on thanks

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

            just an update, its seems others have had this issue too.  We have been able to change the 302 to a 301 (magento defaults to 302 by default, this can be changed under configuration, web, url options).  I think the redirect something to do with the "Redirect to CMS-page if Cookies are Disabled", even though its set to "no" its seems its redirecting to the canonical instead.

            Ultimately I think the solution is under the "Use Categories Path for Product URLs"  which is set to "yes" by default, this make the product urls the same at the canonical (which what google is indexing anyway)

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Our protected pages 302 redirect to a login page if not a member. Is that a problem for SEO?
              pilesofpillows
              pilesofpillows
              1
              2
              23

            • I am using All-in-One-seo. I change the title and meta description on the home page, but it is not showing up on the search. It is on the source code. When I change other pages, the both show up in the search, just not the home page. Any idea why?.
              jgodwin
              jgodwin
              0
              11
              3.2k

            • Effect of 302 redirects from empty parent page to sub page
              driftingbass
              driftingbass
              0
              3
              294

            • HTTP status code 302
              JohnHuynh
              JohnHuynh
              0
              3
              215

            • Hello every one please give me idea about offpage techniques for keyword ranking for first page on top 5 all search engine ,and it must be durable for long time. If i will not use on page optimization?
              MarkScully
              MarkScully
              0
              9
              499

            • Top pages give " page not found"
              thomasfasting
              thomasfasting
              0
              4
              511

            • Paging Links Code - Best Way?
              AlanMosley
              AlanMosley
              0
              2
              431

            • Putting nav code at the bottom of a page?
              bloggidy
              bloggidy
              0
              6
              2.0k

            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