The 302 error code is a label rather than a real fault. It is a status named Found that tells your browser, "the page you asked for is temporarily at a different address, go there instead." Browsers follow it in a fraction of a second and you never notice. Websites use it for sign in steps, language and region choices, short links and maintenance pages.
It becomes a problem only when something goes wrong with the redirect: a loop that never ends, a jump to the wrong page, or a tool that reports a 302 and confuses you. This page explains what you will see, how to fix a redirect that misbehaves, and how owners set one up properly.
Common causes
1Normal redirect to a login or home page
How to tellYou land on a sign in page after opening a private link
What fixes itNothing is wrong; sign in and continue
2Redirect loop between two addresses
How to tellBrowser says too many redirects or the page never finishes loading
What fixes itClear cookies for the site and reload
3Old cookies or cached redirect
How to tellOpens in a fresh incognito tab, loops in your usual one
What fixes itDelete stored data for that site
4Site moved and old link still redirects
How to tellYou open an old link and land on a new page
What fixes itUpdate your bookmark to the new address
5Wrong redirect set by the site owner
How to tellEveryone is sent to the wrong page or back to the start
What fixes itOwner corrects the redirect rule and its target
6Secure and plain addresses fighting each other
How to tellLoop appears after turning on a security certificate
What fixes itOwner sets one clear rule to the secure address
How to fix it, step by step
Check whether anything is actually wrong
If the page you wanted eventually opens, the 302 did its job. Most visitors only see this code in a developer tool or an SEO report, not as a real fault.
Clear cookies and cache for the site
A bad stored cookie often traps you in a loop between a login and a home page. Remove data for that one site in the browser settings, then reopen it.
See if the link opens in an incognito tab
If it loads there, your usual window holds the bad saved state. If it loops there too, the site is at fault.
Check the date and time on your device
Wrong time can break secure sign in cookies, and that makes sites bounce you back to the login. Set automatic date and time in settings.
Turn off VPN and extensions for a test
Add ons that rewrite addresses or force secure pages can clash with the site's own redirects. Disable them briefly and reload.
Use the site's main address
Go to the home page by typing the plain name, and navigate from the menu instead of using an old saved link.
Report a loop that does not end
Send the owner the link you opened and the message you saw. A loop that affects everyone cannot be fixed from a visitor's device.
What a 302 error code means
Codes beginning with 3 are redirects, and none of them mean failure. A 302 says the move is temporary, so browsers should keep using the original address next time. That is the difference from a 301, which says the move is permanent. The new address arrives in a Location header, and the browser follows it automatically.
You tap a short link in a message. The server replies 302 Found with the real address in the header, and your phone opens the long page. You never see the 302, only the final page.
302 compared with other redirect codes
| Code | Meaning | Typical use |
|---|---|---|
| 301 | Moved permanently | Site moved for good |
| 302 | Found, moved temporarily | Login steps, short links, tests |
| 304 | Not modified, use saved copy | Faster repeat visits |
| 307 | Temporary, same method kept | Posting forms safely |
See 307 Temporary Redirect and 304 Not Modified, or the full list on HTTP status codes.
For site owners: using and fixing a 302
- Use a 302 only for changes that will be undone, such as maintenance or a temporary campaign page. For a permanent move use a 301 so search engines transfer the page.
- Test every redirect to confirm it ends at one final page after a single hop.
- Avoid chains of several redirects. Each adds delay.
- Fix loops by checking that the target address does not point back to the source, and that secure and plain rules do not conflict.
- Clear any caching layer after changing a rule.
A long lasting 302 can leave the old address in search results. Switch to a 301 once a move is final.
Seeing a 302 in a tool or report
Website checkers list a 302 as a finding, and people worry. If the redirect is on purpose, it is fine. If it appears on an important page that should simply load, ask whether it really needs to redirect. A message saying too many redirects, however, is a real fault, and you should treat it as a loop. If the final page turns out to be gone, that is a 404 problem.
Frequently asked questions
What does error code 302 mean?
It means Found: the page is temporarily at another address and your browser should go there. The browser is simply being pointed elsewhere.
How to fix 302 error when a page keeps redirecting?
Clear cookies for the site, test in a private window, disable VPN and extensions, and check device time. If it loops for everyone, the owner must fix it.
Is the 302 error code bad for SEO?
Not if it is used for a temporary move. Using it for a permanent move can keep the old address in search results, where a 301 would be better.
What is the difference between 301 and 302?
A 301 is a permanent move and a 302 is temporary. Browsers and search engines treat them differently when remembering the new address.
Can a 302 error code mean a virus or hack?
Not by itself. Redirects are normal. If a trusted site keeps sending you to odd or unrelated pages, leave that tab and type no passwords there.