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

Update URL handling to route even with missing unique ID #50

Closed
aaronpk opened this issue Jan 9, 2020 · 0 comments
Closed

Update URL handling to route even with missing unique ID #50

aaronpk opened this issue Jan 9, 2020 · 0 comments

Comments

@aaronpk
Copy link
Owner

aaronpk commented Jan 9, 2020

Since it's rare that an event slug will collide with another during the same month, it should be possible to link to events using an even shorter URL than the one that includes the unique ID at the end.

For an event like /2020/01/a-b-c-uniqueID, the URL /2020/01/a should redirect to the canonical URL. If there are more than one event possibilities for the given slug prefix then show all matching events. This ensures previously redirecting URLs will still show the correct event if a conflicting URL is added later.

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

No branches or pull requests

1 participant