Open mdalmau opened 4 years ago
If you think it would be helpful, it would be possible to implement the detail of the redirection in the XProc app; the old system could then have a single redirection rule that redirects every old URL to an exactly corresponding URL in the new app (e.g. redirecting to the same URL path on the new domain, but preceded by /legacy
), and the new app could then be responsible for re-redirecting each request to the appropriate location.
If you're using Apache HTTPD you could do this with a RedirectMatch
rule such as:
RedirectMatch "^/(.*)" "http://newton.dlib.indiana.edu/legacy/$1"
url_redirects_newton_2020.xlsx
I am hoping we (Brian) can do some URL pattern matching to redirect the hundreds of individual mss URLs (see spreadsheet for more information and example).
@randalldfloyd would we assign this to Brian once we get ready to launch?
@mdalmau will touch base with server admin on how he wants this. In the long ago past I would create a spreadsheet matrix (old URL to new URL). May need to figure out how server admin implements redirects (htdocs or some sort of mapping file) since server admin is out of the office on leave (and Randall or I will need to do actually implement this). For now, I am not creating a task for implementation until I know how we will do it and who will do it.