Shortlink creation problem
A few days ago, Luke asked me to set up a shortlink from cuny.is/tcuny to http://goo.gl/forms/WGE4WrgFv7
He then realized that shortlinks are case-sensitive and that the flyer circulating has the shortlink in all caps. So he asked me to create a shortlink from cuny.is/TCUNY to http://goo.gl/forms/WGE4WrgFv7
When I tried to do this, a new entry was not created. When I tried to edit the older shortlink, the tool said that the URL was already in use.
Any ideas? Ideally, we'd be able to have two different shortlinks pointing to the same URL.
#1 Updated by Boone Gorges almost 3 years ago
- Status changed from Assigned to Resolved
- Target version set to 1.9.14
It's not possible to allow two different URLs in the way you've requested, without rebuilding our database.
I just installed a YOURLS plugin that forces cuny.is shortlinks to be case-insensitive. This way, cuny.is/TCUNY points to the same place as cuny.is/tcuny (or tCuNy or whatever). https://github.com/cuny-academic-commons/cac/commit/bb9128d4f93ab036d4f6049faec930465a51e480 This is live on the production site.