Chapter 6. Optional features

Table of Contents

Reference URL redirection

Steps involving optional features should be followed whether installing or upgrading.

Reference URL redirection

Reference URLs are persistent URLs for CONTENTdm® objects that look like this:,87

Notice how the page on which you end up has a different URL than the reference URL. Accessing a reference URL redirects you to the CONTENTdm® template corresponding with that object. dmBridge, however, is going to use a different template, with a different URL. You will, therefore, want to selectively redirect your reference URLs depending on which system you want the object to appear in. The way to do this is by installing the provided replacement reference URL routing script.

The default reference URL routing script resides at: /u/index.php (relative to your CONTENTdm® server's document root). The replacement script is bundled in the dm/u/ folder. To enable it, follow these instructions:

  1. Make a backup of /u/index.php

  2. Copy dm/u/index.php to /u/index.php.

  3. Open /u/index.php and edit DMBRIDGE_ROOT, if necessary.

  4. Set up your redirects in the Reference URLs section of the Control Panel.