openmichigan / OERbit

OERbit is a Drupal-based publishing platform for publicly licensed learning resources (OER/OCW)
http://open.umich.edu/wiki/OERbit
GNU General Public License v2.0
14 stars 5 forks source link

Renamed subunit, old URL persists #15

Closed kwcoffman closed 10 years ago

kwcoffman commented 13 years ago

From: Kathleen Ludewig Omollo Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-81 Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-79 (https://github.com/openmichigan/OERbit/issues/14)

I renamed https://open.umich.edu/education/med/oernetwork/med/basic-sci to https://open.umich.edu/education/med/oernetwork/med/microbiology.

There were 3 existing resources in the /basic-sci unit. When I renamed the unit, the urls for the resources were not updated. They are still https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-micro-cases/2009 https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-chemistry/2009 https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-microbio-lab/2009

From: Pieter Kleymeer

it appears that when the sub-unit (or unit) name and url are changed, all the content within those units get their "URL path settings" automatically set to their previous URL.

this looks like it works by design - the question is, does the user actually want all the existing URLs to change? sounds like "yes" from Kathleen - at least she expected it to change.

I found under /admin/build/path/pathauto in the general settings that we can "Create a new alias. Redirect from old alias." when an item is updated. It seems to make sense that when changing the url of the host sub-unit, the url of the content within it should reflect the new structure. all existing content should have their old urls redirect to the new one.

dmalicke commented 10 years ago

resolved.