drupal/csv_redirect_recipe

Drupal recipe that installs CSV-based redirect migration tooling.

Maintainers

Package info

git.drupalcode.org/project/csv_redirect_recipe.git

Type:drupal-recipe

pkg:composer/drupal/csv_redirect_recipe

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

1.0.0 2026-07-07 15:55 UTC

This package is auto-updated.

Last update: 2026-07-08 20:31:44 UTC


README

This recipe installs the Drupal modules needed for CSV-based redirect imports and provides:

  • the csv migration group
  • the csv_redirect migration definition

The migration expects a CSV file at public://redirects.csv with a header row containing at least:

  • source
  • redirect

Optional columns:

  • status (defaults to 301)
  • language (defaults to und)

Install

Install the recipe package in your Drupal project:

composer require drupal/csv_redirect_recipe

Apply

Apply the recipe from your project root:

drush recipe ../recipes/csv_redirect_recipe

CSV input

Place your source file at:

public://redirects.csv

Required headers:

  • source
  • redirect