Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Allow redirects to be organised into groups #239

Open
sm9 opened this issue May 24, 2022 · 3 comments
Open

[FR] Allow redirects to be organised into groups #239

sm9 opened this issue May 24, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@sm9
Copy link

sm9 commented May 24, 2022

Is your feature request related to a problem? Please describe.

We have a site that has around 2,500 redirects. We have imported around 2,000 of these redirects via a CSV file (mapping the old URLs to the new URLs, as the old site used to use a different CMS and a completely different URL format), whilst other redirects have been added over time after seeing 404's in the Retour dashboard, or added automatically as the slugs have been changed on the entry pages.

Describe the solution you would like

Rather than seeing all 2,500 redirects in a single paginated list, I would like the ability for redirects to be added to a 'Group' for organisation purposes. This would allow me to more easily find redirects that have been added via the various methods (CSV import, manually, or automatically via the control panel). This might be useful when trying to find redirects or when tidying up redirects (to know how they were added). It would also be nice to be able to see which user has added the redirects for auditing purposes.

@sm9 sm9 added the enhancement New feature or request label May 24, 2022
@khalwat
Copy link
Contributor

khalwat commented May 24, 2022

Interesting idea. Probably if I implemented something like this, it would be via an additional "tag" field of the like.

You could potentially also consolidate some of these redirects by using RegEx redirects as well?

@sm9
Copy link
Author

sm9 commented May 24, 2022

A tags approach would work well, if this sort of feature was ever added.

Regarding RegEx, that might work for some of the general redirects, but the bulk of them (in my case) are for old news/event/blog entries from an old website that used completely different URL formats and slugs to what the new Craft site uses, so there's no repeatable pattern for them (i.e. not a simple case of the segments changing but the slug staying the same).

@elivz
Copy link

elivz commented Nov 16, 2022

Adding my vote for this. It would be great to have, for example, the redirects that are created automatically when changing an entry's slug be tagged such that I could either view just those or exclude them from the listing. And being able to assign a tag when importing a CSV would make it much easier to manage legacy redirects down the road.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants