riasvdv / statamic-redirect

Redirect allows you to redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website.
https://statamic.com/addons/rias/redirect
19 stars 21 forks source link

Create, Edit & Import all allow duplicate source URL #145

Closed jonathan-bird closed 7 months ago

jonathan-bird commented 7 months ago

When you create, edit or import redirects, you can set the same source URL as another entry.

There should be validation for creating redirects that ensure that you are not creating duplicates, as it's impossible to hit a URL and be redirected to 2 different destinations, so a unique source URL would be the solution for this.