---
title: "Manage redirect following"
sidebar_label: "Manage redirect following"
description: "How to enable or disable redirect following for a CDN resource"
sidebar_position: 8
author: false
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Manage redirect following

When a CDN server receives a response from the origin with a redirect code (`301`, `302`, `303`, `307`, `308`), it caches this response and passes it to the browser. The browser then follows the redirect link to fetch the content.

To have the CDN server follow a redirect link, cache the content, and deliver it to the user, you can [enable following redirects](#enable-redirects-following). This allows you to speed up content loading for the user. You can [disable following redirects](#disable-redirects-following).

## Enable redirect following \{#enable-redirects-following}

1. In the [control panel](https://my.selectel.ru/cdn-v3), in the top menu, click **Products** and select **CDN**.

2. In the **CDN Resources** section, open the CDN resource page → **General**.

3. In the **Redirect settings** block, select the **Follow redirects**.

4. Click **Apply**. While settings are being applied, the CDN resource will be in the `PROCESSING` status. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to the `ACTIVE`.

## Disable redirect following \{#disable-redirects-following}

1. In the [control panel](https://my.selectel.ru/cdn-v3), in the top menu, click **Products** and select **CDN**.

2. In the **CDN Resources** section, open the CDN resource page → **General**.

3. In the **Redirect settings** block, clear the **Follow redirects**.

4. Click **Apply**. While settings are being applied, the CDN resource will be in the `PROCESSING` status. You cannot apply other settings during this time. Settings will be applied once the CDN resource transitions to the `ACTIVE`.

<Formbricks />
