Import redirects from CSV

This module allows to include path redirection in a simple way. Provides a simple way to bulk import redirects for Redirect (Drupal 7) or Path Redirect (Drupal 6) modules from a CSV file.

All the necessary redirections can be done at the same time from a CSV file.
Very useful module for moving your website from one path structure to another.

Drupal 6 (Deprecated)

CSV structure:
'old url', 'new_url', 'redirect_code' = 301

Drupal 7

Module includes some new features like the language support or the improved UI.
CSV structure:
'old url', 'new_url', 'redirect_code' = 301, 'language' = ''
Required fields are the Old URL and the New URL, Redirect code and Language fields are optional

Drupal 8

Drupal 8 module version is based on the Drupal 7 module version and it uses the same CSV column structure.

Drupal 9

2.x branch requires Drupal 9.1+ and is implemented following a new architecture based on Migrate instead of custom import.

Drush

All versions (D6, D7 and D8) branches provide a drush command path-redirect-import that allows to do the same tasks faster from command-line.
2.x version provides a new drush command: path_redirect_import:import

Credits

Supporting organizations: 
Support maintenance of 2.x branch
Sponsor development of 2.x branch
D10 compatiblity changes

Project information

Releases