---
title: "Console commands"
manual: "Relaunch Redirects"
version: "main"
permalink: "https://docs.typo3.org/permalink/fuf/relaunch-redirects:commands@main"
source: "Commands/Index.rst"
rendered: "2026-10-17T17:10:51+00:00"
---

# Console commands {#commands}

All commands take the identifier of the new site as first argument, as in
`config/sites/<identifier>/config.yaml`.

## relaunch-redirects:import {#command-import}

Imports the URLs of the old website and checks them against the new site.

```bash
vendor/bin/typo3 relaunch-redirects:import main https://www.example.org/sitemap.xml
vendor/bin/typo3 relaunch-redirects:import main search-console-pages.csv
cat urls.txt | vendor/bin/typo3 relaunch-redirects:import main -
```

The source is the URL of a sitemap or URL list, a local file, or `-` for
standard input.

-   **--replace**

    -   *Type:* flag

    Removes the current list of the site before the import.

-   **--no-check**

    -   *Type:* flag

    Only imports the URLs. Check them later with
    [relaunch-redirects:check](https://docs.typo3.org/permalink/fuf/relaunch-redirects:command-check@main).

## relaunch-redirects:check {#command-check}

Checks all imported URLs again and lists the ones that need a decision.

```bash
vendor/bin/typo3 relaunch-redirects:check main --fail-on-problems
```

-   **--fail-on-problems**

    -   *Type:* flag

    Exits with code 1 when an old URL is missing or ends in a broken
    redirect. Use it in a deployment pipeline after the go-live.

-   **--limit**

    -   *Type:* integer
    -   *Default:* 50

    Maximum number of problems listed in the output.

## relaunch-redirects:create {#command-create}

Creates redirects for missing URLs, and fixes broken redirects, whose best
suggestion reaches a minimum score. The suggestions below the score are left
for a person to decide in the backend module.

```bash
vendor/bin/typo3 relaunch-redirects:create main --dry-run
vendor/bin/typo3 relaunch-redirects:create main
```

-   **--min-score**

    -   *Type:* integer
    -   *Default:* 90

    Only suggestions with at least this score are used. 100 means the same
    path, 90 means the page name exists only once on the new site.

-   **--status-code**

    -   *Type:* integer
    -   *Default:* 301

    HTTP status code of the new redirects: 301, 302, 303, 307 or 308.

-   **--source-host**

    -   *Type:* string

    Source host of the new redirects, `*` for all hosts. By default
    the host of the old URL is used, or `*` for paths without host.

-   **--dry-run**

    -   *Type:* flag

    Only lists the redirects that would be created.

## relaunch-redirects:export {#command-export}

Writes the checked list as CSV.

```bash
vendor/bin/typo3 relaunch-redirects:export main --filter=attention --output=old-urls.csv
```

-   **--output**

    -   *Type:* string
    -   *Default:* -

    File to write, `-` for standard output.

-   **--filter**

    -   *Type:* string
    -   *Default:* all

    Which URLs: `attention` (missing and broken), `missing`,
    `broken`, `redirected`, `ok`, `unchecked`,
    `ignored` or `all`.

-   **--delimiter**

    -   *Type:* string
    -   *Default:* ,

    Column delimiter, for example `;` for Excel with German
    settings.
