Closed joshuazrobins closed 5 years ago
It’d be great to also redirect from URLs built like https://lacounts.org to functional URLs https://www.lacounts.org
On Tue, Apr 23, 2019 at 2:28 PM Joshua Robins notifications@github.com wrote:
Can we setup a redirect for users who try to access a dataset using an "old" link (in the style of our previous URL formatting)? For instance, we previously formatted our URL like "www.lacounts.org/catalog/4447" for a dataset.
We are finding users saved those URL shortcuts and are attempting to access those, resulting in a 404 ERROR. Instead of this 404 ERROR, can we redirect these users accessing any "/catalog/___" URL to the standard Library page "/dataset" ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/okfn/ckanext-lacounts/issues/214, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMTSYM6TGUFSY2GCUWFVBTPR55RNANCNFSM4HH6R2MA .
DONE
Can we setup a redirect for users who try to access a dataset using an "old" link (in the style of our previous URL formatting)?
For example, we previously formatted our URL like "www.lacounts.org/catalog/4447" for a dataset. What we are finding is there are users who saved old URL shortcuts and attempt to access these dataset pages now. The result is a 404 ERROR.
Instead of this 404 ERROR, can we redirect these users accessing any "/catalog/___" URL to the standard Library page "/dataset" ?