Closed fsteeg closed 7 years ago
We will keep the new pattern and IDs for collections, and restore the old ones for titles:
Regarding the identifiers, we should keep using the literal ones for collections and look into using the /record/$ID pattern for single resources. Thus, we would regain old URLs for the biggest part of resources. -- @acka47 in https://github.com/hbz/digitalisiertedrucke/issues/32#issuecomment-256020938
For consistency with the collections
URLs and the D
and P
IDs in digital and print titles, I've implemented this as a simple 301 moved permanently redirect, see URLs linked from
https://github.com/hbz/digitalisiertedrucke/wiki/Example-resources:
http://test.digitalisiertedrucke.de/record/490805 http://test.digitalisiertedrucke.de/record/491265
http://www.digitalisiertedrucke.de/record/490805?ln=de currently doesn't redirect to http://digitalisiertedrucke.de/resources/490805. Shouldn't it already?
No, because the redirect functionality is not deployed to the production instance yet.
+1
Change routes to match the old URLs like
http://digitalisiertedrucke.de/record/46713
Depends on #32