Skip to content

Commit

Permalink
Add legacy redirect section.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel committed May 2, 2024
1 parent fec3a40 commit 3a1767b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/user-documentation/url-aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,19 @@ identifiers if you have them!

The default Pathauto pattern for Repository Items is `/islandora/[node:title]`
with the pathauto configuration trimming the alias at 100 characters.



## Preserving Legacy URLs

Sites migrating from Islandora Legacy may wish for their objects to still
be available through their old URLs, with the pattern `/islandora/object/[PID]`.

Options for doing this include:

* Populating `field_pid` with the legacy PID, and using Pathauto to create URL
aliases of the pattern `/islandora/object/[node:field_pid]`. However, you will
need to set up something for new objects that don't have Legacy PIDs.
* Use discoverygarden's ["PID Redirect"](https://github.com/discoverygarden/pid_redirect)
module, which creates "301 Moved Permanently" redirects from legacy URLs to
the appropriate node, based on `field_pid`.
* Manually managing redirects in your webserver.

0 comments on commit 3a1767b

Please sign in to comment.