tool::http-status-detail
302 Found
The resource is temporarily at a different URL.
상태 코드
302
이름
Found
카테고리
3xx상세 설명
HTTP 302 Found는 요청한 리소스가 일시적으로 다른 URL에 있음을 나타냅니다. 301과 달리 검색 엔진은 원래 URL을 계속 인덱싱하며, 브라우저도 다음 요청 시 원래 URL로 다시 시도합니다. 주의: 일부 오래된 클라이언트는 302 응답 시 POST를 GET으로 변경할 수 있으므로, HTTP 메서드 보존이 필요하면 307을 사용하세요.
주요 원인
- ▸로그인 후 원래 페이지로 리다이렉트하는 경우
- ▸언어/지역 기반 리다이렉트 (예: /→/ko, /→/en)
- ▸A/B 테스트로 다른 버전의 페이지를 보여주는 경우
- ▸임시 점검 페이지로 리다이렉트하는 경우
해결 방법
- 1.영구 이동이라면 302 대신 301을 사용하세요 (SEO 영향)
- 2.POST 메서드를 보존해야 한다면 307 Temporary Redirect를 사용하세요
- 3.Location 헤더의 URL이 올바른지 확인하세요
- 4.무한 리다이렉트 루프가 없는지 확인하세요
관련 HTTP 헤더
LocationCache-Control응답 예시
HTTP/1.1 302 Found Location: https://example.com/ko/page Cache-Control: no-cache
관련 상태 코드
300Multiple ChoicesMultiple options for the requested resource.→301Moved PermanentlyThe resource has permanently moved to a new URL.→303See OtherRedirect to another resource using GET.→304Not ModifiedThe cached version is still valid; no new content to return.→307Temporary RedirectTemporary redirect preserving the original HTTP method.→
ad · 300×250
// related tools