Page MenuHomePhabricator

Consider offering a way to create config file redirects
Open, Needs TriagePublic

Description

After resolving T304772, Web2Cit-Core and Web2Cit-JSON-Editor follow config file redirects. However, there is no easy way to create them. Users have to manually create these files (although they may do so through the JSON editor, to prevent naming errors) and set the redirection.

Consider having an option on the JSON editor to create (and remove?) a redirect.

Event Timeline

This would be particularly useful in the common case were www.some.domain.com is an alias of some.domain.com. For cases like this, we may consider defaulting to use config files for some.domain.com if config files for p www.some.domain.com` have not been set.

Apparently, this had been a design decision but dropped along the way for some reason I can't recall right now. See T315020#8146155 and T297951#7942968.

If we do this instead, having a way to easily create config file redirects for less common domain alias cases would not be as useful anymore.