# Redirect an old URL

This article explains how to send an old address of your site to the new one, one by one or by file. You will learn to choose the type of redirect and to catch the deleted addresses that your analytics detect.

## Before you start

- A redirect sends an old address of your site to a new one. Visitors who follow an old link and Google, which knows the old address, land on the right page instead of a 404 error.
- The **Redirects** screen requires the **Administrator** role.
- You prepare your redirects in the Staging. They apply online at the next publication of the site.

## Choose the type of redirect

| Type | Purpose | Target |
| --- | --- | --- |
| **301 (Permanent)** | The page has moved for good, after an address change or a redesign. Google carries the ranking of the old address over to the new one. This is the default type. | Required. |
| **302 (Temporary)** | The address points elsewhere for a while, for example a seasonal offer. | Required. |
| **410 (Gone)** | The page no longer exists and will not come back. Search engines learn that the address is permanently removed. A 404 error can pass for a temporary one. The visitor sees your error page. | None. |

## Add a redirect

1. In the **Visibility** menu, open **Redirects**.
2. Click **Add a redirection**. A panel opens on the side.
3. In **Source path**, enter the old address, for example `/old-page`.
4. In **Redirect type**, choose **301 (Permanent)**, **302 (Temporary)** or **410 (Gone)**.
5. In **Target**, enter the new address: a path of your site like `/new-page`, or a full address to another site, starting with `https://`. The field disappears with the 410 type.
6. Click **Save**. The message **Redirect saved.** appears and the redirect shows up in the list.

![The Add a redirect panel: the source path /our-prices, the 301 (Permanent) type chosen among 302 (Temporary) and 410 (Deleted), the target /pricing/ and the Save button.](https://static.lovelyrender.com/uploads/2026/10/1006-doc-redirections-ajouter.png)

The source path is compared without the domain, without the parameters after `?` and without the trailing slash: `/old-page/` and `/old-page` designate the same source. A source that already exists receives the new target and the new type.

As long as a change is not published, the list shows at the top **Your redirect changes are not live yet. Publish your site to apply them to Production.** The message disappears after publication.

**Warning:** A redirect only applies if the source address leads to no page. A page published at that address takes precedence. To redirect a page that is still online, unpublish it or change its address first.

## Edit or delete a redirect

The list shows your redirects page by page, each with its **Source**, its **Target** and its **Type**. The **Search redirects…** field filters on the source and the target.

![The Address redirects screen of Atelier Sauge: the Add a redirect and Bulk import buttons, the search field, the reminder Your redirect changes are not live yet, then the top of the list with the source, the target, the type and the Edit and Delete buttons of each redirect.](https://static.lovelyrender.com/uploads/2026/10/1004-doc-redirections-liste.png)

- **Edit** reopens the panel, filled in, to change the source, the target or the type. A source already taken by another redirect is refused.
- **Delete** asks for a confirmation, **Delete the redirect for “…”?**, then removes the redirect.

![The confirmation window: Delete the redirect for “/free-quote”?, then the Delete and Cancel buttons.](https://static.lovelyrender.com/uploads/2026/10/1011-doc-redirections-supprimer.png)

Your site’s history records who saved, deleted or imported each redirect.

## Import redirects in bulk

For a redesign or a migration, import all your redirects from a CSV, XLS or XLSX file.

1. On the **Redirects** screen, click **Bulk import**. The **Import redirects** window opens.
2. Click **Download template (.csv)** and fill in its three columns.
3. Drag your file into the **Drag your file** area, or click **Choose a file**. The screen reads the file without creating anything.
4. Read the result: the number of valid redirects, the number of skipped lines with their number and error, then a sample of the first redirects.
5. Click **Import** followed by the number of redirects, for example **Import 120 redirects**. The page reloads on the completed list.

![The Import redirects window: the expected columns, the Download the template (.csv) button and the Drag your file area, or Choose a file.](https://static.lovelyrender.com/uploads/2026/10/1012-doc-redirections-import.png)

| Column | Content | Left empty |
| --- | --- | --- |
| `from` | The old address, for example `/old-page`. Required. | The line is skipped. |
| `to` | The new address, path or full address. | Accepted for a 410 only. |
| `code` | `301`, `302` or `410`. | `301`. |

Columns are recognized by their title, in any order. Two lines with the same source count as one: the last one wins. An invalid line is dropped without blocking the others. A file holds 5,000 lines at most: beyond that, split it.

**Note:** The screen does not export your existing redirects. The template is for preparing an import.

## Catch a deleted address

The **Advice** tab of your analytics detects the addresses that return a 404 to visitors coming from other sites and that no redirect covers.

1. In the **Statistics** menu, open the **Advice** tab.
2. On the deleted addresses card, for example **1 deleted address still receives visitors**, click **See details**. Each address gives its **Referring domains** and its **Lost visits**.
3. Click **Create a redirection**. The redirect form opens, with the source already filled in.
4. Choose the target, then click **Save**.

![The 1 deleted address still receives visitors card of the Advice tab, its detail open: the address /old-offer/ in 404, 2 referring domains, 45 lost visits and the Create a redirect button.](https://static.lovelyrender.com/uploads/2026/10/1008-doc-trouve-redirection.png)

The **Create a redirection** button only appears to administrators.

## Hand the redirects over to your AI

An AI connected to your site can check what it returns for a list of old addresses. It writes the missing redirects, with the same checks as the import. It deletes no redirect. [Connect your AI](https://lovelyrender.com/documentation/connect-ai/) explains how to allow it.

## See also

- [Follow the advice](https://lovelyrender.com/documentation/follow-advice/)
- [Set a page’s SEO](https://lovelyrender.com/documentation/set-page-seo/)
- [Publish your site](https://lovelyrender.com/documentation/publish-site/)
