Skip import when source and target path are the same

Created on 23 October 2025, 3 days ago

Problem/Motivation

Currently, it's possible with this module to import a redirect where the source and target path are the same.
When you import this kind of redirects, this will result in a "Service unavailable" error, since redirect recognizes this as a recurring redirect.

Steps to reproduce

  1. Enable this module and visit the import form.
  2. Upload this CSV: migrate.csv and start an import.
  3. Visit the URL /my-redirect-url on your site. You now receive a "Service unavailable error.

Proposed resolution

Add a check, when source and target url are the same, skip this row.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024