tool::http-status-detail
301 Moved Permanently
The resource has permanently moved to a new URL.
상태 코드
301
이름
Moved Permanently
카테고리
3xx상세 설명
HTTP 301 Moved Permanently는 요청한 리소스가 영구적으로 새 URL로 이동했음을 나타냅니다. 검색 엔진은 이 응답을 받으면 링크 주스(PageRank)를 새 URL로 전달하고, 인덱스를 업데이트합니다. 브라우저는 이후 동일 요청 시 자동으로 새 URL을 사용합니다. SEO에서 도메인 변경이나 URL 구조 변경 시 필수적인 코드입니다.
주요 원인
- ▸웹사이트 도메인을 변경한 경우 (예: example.com → newdomain.com)
- ▸URL 구조를 재설계한 경우 (예: /page?id=1 → /page/1)
- ▸HTTP에서 HTTPS로 마이그레이션한 경우
- ▸www와 non-www 버전을 통합한 경우
해결 방법
- 1.Location 헤더에 올바른 새 URL이 포함되어 있는지 확인하세요
- 2.리다이렉트 체인(301→301→301)을 피하고 최종 목적지로 직접 연결하세요
- 3.임시 이동이라면 301 대신 302 또는 307을 사용하세요
- 4.서버 설정(.htaccess, nginx.conf)에서 리다이렉트 규칙을 확인하세요
관련 HTTP 헤더
LocationCache-Control응답 예시
HTTP/1.1 301 Moved Permanently Location: https://newdomain.com/page Cache-Control: public, max-age=31536000
관련 상태 코드
300Multiple ChoicesMultiple options for the requested resource.→302FoundThe resource is temporarily at a different 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