# 리디렉션이란?

{% hint style="warning" %}
**Deprecated**

이 문서는 더 이상 관리되지 않습니다.

[PortOne 개발자센터](https://developers.portone.io/)를 이용해주세요.
{% endhint %}

### 현재 페이지를 다른 페이지로 이동함을 의미합니다.

![](/files/7jkY11XM8eD5x6SsL27Q)

### 리디렉션은 왜 필요할까요?

* 기존의 페이지의 주소가 새롭게 변경되어 이동이 필요한 경우
* 불필요하거나 잘못된 서브 주소를 하나로 이동시키는 경우
* 로그인, 인증 등의 목적으로 다른 주소로 이동이 필요한 경우

### 리디렉션은 아래와 같이 두 가지로 구분이 됩니다.

* **리디렉션 301**

  \- 서버사이드 및 클라이언트 언어에서 어떤 코드도 수행하지 않고 바로 리디렉션 처리
* **리디렉션 302**

  \- 일시적인 방법으로 Redirect으로 스크립트나 html 태그를 이용한 방법


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://portone.gitbook.io/docs/tip/redirect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
