You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Django does not allow special characters in slugs, while WordPress does allow them. We're stripping them during the migration. It would be nice if links all over the internet and within our content to pages with special characters in their slugs do not break.
Proposed Solution
If a slug transmitted via the API does not match a translation, run the slugify method on it and then try again to match. This is the same operation we perform on slags after migrating. Alternatively, the slugify method could be run on all slugs if the compute time is not too long?
Alternatives
Old links break or need to be fixed manually over time.
Motivation
Django does not allow special characters in slugs, while WordPress does allow them. We're stripping them during the migration. It would be nice if links all over the internet and within our content to pages with special characters in their slugs do not break.
Proposed Solution
If a slug transmitted via the API does not match a translation, run the slugify method on it and then try again to match. This is the same operation we perform on slags after migrating. Alternatively, the slugify method could be run on all slugs if the compute time is not too long?
Alternatives
Old links break or need to be fixed manually over time.
Additional Context
https://issues.tuerantuer.org/browse/INFRA-161
The text was updated successfully, but these errors were encountered: