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. Intermediate & Advanced SEO
    4. All URLs in the site is 302 redirected to itself

    All URLs in the site is 302 redirected to itself

    Intermediate & Advanced SEO
    3 3 148
    • 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.
    • alex_goldman
      alex_goldman last edited by

      Hi everyone,

      I have a problem with a website wherein all URLs (homepage, inner pages) are 302 redirected. This is based on Screaming Frog crawl. But the weird thing is that they are 302 redirected to themselves which doesn't make any sense.

      Example:
      https://www.example.com.au/ is 302 redirected to https://www.example.com.au/

      https://www.example.com.au/shop is 302 redirected to https://www.example.com.au/shop

      https://www.example.com.au/shop/dresses is 302 redirected to https://www.example.com.au/shop/dresses

      Have you encountered this issue? What did you do to fix it? Would be very glad to hear your responses.

      Cheers!

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

        Hi Alex,

        I worked on a site a while ago that did something like this to get the location of users in order to serve them location-dependent product pricing.

        These redirects didn't seem to hurt their organic performance at all, but the devs eventually got around to using some simple JavaScript to obtain location information, and the redirects were scrapped.

        Is the site you are talking about using redirects to get location information? If so, I'd suggest speaking with the devs to come up with an alternative.

        Cheers,

        David

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

          Hey Alex–building from David's note. Without more information (like your site), it's hard to see exactly what's going on, but a few things come to mind:

          • Are you using hreflang tags? If you're not, the 302 redirects may be a workaround that a content editor or dev put in place to get users to their appropriate location on your site. In addition to resolving these redirects, I highly recommend you implement hreflang tags in the of your site's pages so that crawlers know that these different international TLDs are all related.
          • You should definitely remove these redirects, especially if there are versions of these URLs that exist with 200 status codes. There may be a rule in your site's htaccess file (you'll need to talk to your developer and/or server manager to update this), or within meta directives in the tags of your pages.
          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • 302 redirected URLs - login, account pages
            GastonRiera
            GastonRiera
            0
            2
            226

          • Infinite 302 redirects on a site using Angular JS
            BasKierkels
            BasKierkels
            0
            9
            728

          • Does Google Index URLs that are always 302 redirected
            evolvingSEO
            evolvingSEO
            0
            2
            951

          • New Site Launch - Redirecting Hundreds of Old Invalid URLs?
            VTDesignWorks
            VTDesignWorks
            0
            5
            185

          • HTTPS Login on HTTP Site | 301 or 302 Redirect?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            4
            1.2k

          • How do you 301 redirect URLs with a hashbang (#!) format? We just lost a ton of pagerank because we thought javascript redirect was the only way! But other sites have been able to do this – examples and details inside
            JamesTDG
            JamesTDG
            0
            9
            7.9k

          • What is the Effect of redirect on rankings of two different domains (websites) when site A is redirected to site B?
            GPainter
            GPainter
            0
            4
            154

          • Does having many 302 redirects on a site hurt rankings?
            RyanKent
            RyanKent
            0
            2
            984

          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