Back to the knowledgebase

How do I import a large number of redirects at once?

If you need to create many redirects at once- for example, when migrating from an old site- Retour supports importing redirects from a CSV file rather than entering them one by one.

Preparing your CSV file
Your CSV file should contain one redirect per row. The file needs at minimum a column for the source URL, a column for the destination URL, and optionally a column for the HTTP status code. The columns should use comma separation. If your file uses a different delimiter, contact your site administrator to adjust the import settings.

How to import
Navigate to Retour in the CMS control panel and go to the Redirects section. Look for the Import option. Upload your CSV file, map the columns to the appropriate fields (source URL, destination URL, status code), and confirm the import. Retour will process the file and create the redirects in bulk.

After importing
Review a sample of the imported redirects in the Redirects list to confirm they have been created correctly. Test a handful of the source URLs in your browser to verify they are redirecting to the expected destinations.

Similar articles