Support #16851
closed
Added by Laurie Hurson over 2 years ago.
Updated over 2 years ago.
Description
Hi All,
A question from a user:
We want to import the changes I've made on our new test site "ourtlc.commons.gc.cuny.edu" into our old site >"ccnytlc.commons.gc.cuny.edu."
I am wondering if it is at all possible to switch the URLs of these sites instead? The old URL is used in a lot of material at CCNY >so we are reluctant to give it up. I know this is likely not possible but I figured I should ask.
Would it be possible to set it up so that the old URL "ccnytlc.commons.gc.cuny.edu" redirects to the new site "ourtlc.commons.gc.cuny.edu"?
- Status changed from New to Reporter Feedback
Yes, we should be able to make this happen. There are two different kinds of redirects I can put in place:
a. A many-to-one redirect. All requests of the format ccnytlc.commons.gc.cuny.edu/* will be redirected to ourtlc.commons.gc.cuny.edu, ie the new home page.
b. A many-to-many redirect. All requests of the format ccnytlc.commons.gc.cuny.edu/[path] will be redirected to ourtlc.commons.gc.cuny.edu/[path] - ie the same URL, with the domain swapped out.
Usually I recommend option (a) because of the way that URLs might diverge as the new site is developed. However, in this case, it sounds like there will be a straightforward import of evergreen content, which is heavily linked from external resources. So (b) is probably the better option. Does that match what the user would like?
Also worth noting: Once I've set up the redirect, it will be impossible to access the old URL. So it's important that the user is happy with the export before giving the green light for me to put the redirect in place.
Hi Boone,
Thanks for these options. I have spoken with the users and they would like to go with option A - many-to-one redirect - since not all paths will be the same on the new site.
They are aware of and okay with the fact that they will no longer be able to access the old site (ccnytlc.commons.gc.cuny.edu/)
- Status changed from Reporter Feedback to Resolved
- Assignee set to Boone Gorges
- Target version set to 2.0.9
Also available in: Atom
PDF