drupal / csv_redirect_recipe
Drupal recipe that installs CSV-based redirect migration tooling.
Package info
git.drupalcode.org/project/csv_redirect_recipe.git
Type:drupal-recipe
pkg:composer/drupal/csv_redirect_recipe
1.0.0
2026-07-07 15:55 UTC
Requires
- drupal/core: ^11
- drupal/migrate_plus: *
- drupal/migrate_source_csv: *
- drupal/redirect: *
README
This recipe installs the Drupal modules needed for CSV-based redirect imports and provides:
- the
csvmigration group - the
csv_redirectmigration definition
The migration expects a CSV file at public://redirects.csv with a header row containing at least:
sourceredirect
Optional columns:
status(defaults to301)language(defaults tound)
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:
sourceredirect