SWIFT

LibraryWeb Migration
Redirects from Old LWeb to New LWeb


As one of the last steps in completing the migration to new LibraryWeb, LSO implemented the automatic redirection of users from old LibraryWeb pages to corresponding new LibraryWeb pages using two separate approaches: "directory-level redirects" and "file-level redirects".

In most cases, directory-level redirects send users to the new version of the page they requested and the process is completely invisible. If a user requests a page that does not exist, they are directed to an informational page allowing them to connect to the appropriate library or section homepage, or use new LibraryWeb navigation tools to locate the page they are seeking. Redirection to the informational page requires a the file named "error.404.html" be present in the appropriate directory. Do not delete this file!

In a few instances, file-level rather than directory-level redirects were used. This technique was employed when directory-level redirects would have interfered with access to active files in the old directory, or when the relocation of particular pages needed to be highlighted.

Directory-Level Redirects:  This approach is implemented on the server via special .htaccess file commands and automatically forwards all queries from the old directory to the specified new directory.

  • If there is a file with the same name in the new directory, it displays automatically. (And unlike with symlinks, the location URL displayed to the user is that of the new directory.)
  • If there is no file with the same name in the new directory, a page appears providing links to the indiv or section homepage, LibraryWeb search links, and LibraryWeb's standard navigation menus.
  • Directory-level redirects automatically apply to all directories below the one that contains the .htaccess file unless 'overridden' by a different lower-level .htaccess file.
  • After an .htaccess redirect has been implemented in a directory structure, no one including library staff will be able to display the old page using a web browser. So, if web viewing the older version of these pages is important for some reason, please make copies of these files in your personal directories or on your local PC, or else plan to view them using telnet.

    File-Level Redirects:  This technique executes on the client and is used on a file-by-file basis, e.g., if it is considered important to convey the new URL directly to the user. File-level redirects are accomplished using the "meta refresh" command, which can display a page to the user for a specified number of seconds and then automatically forward the user to a different page.

  • LSO replaced the old LibraryWeb home page with a file-level redirect ("meta refresh") page so that users accessing the old home page URL are alerted to the existence of the new site and reminded to update their bookmarks.
  • The file-level redirect technique may also be used elsewhere in LibraryWeb if it seems important to do so. If you're interested in using this approach in pages for which you're responsible, please send email to libraryweb@columbia.edu.

    Keep in mind that directory and file level redirects are mutually exclusive. If you choose to have one file-level redirect in a directory, all pages in that directory must be handled via file-level redirects.

    Examples of Redirects from Old LWeb to New LWeb
    http://www.columbia.edu/cu/libraries/indiv/africa/hours.html
    http://www.columbia.edu/cu/libraries/indiv/area/hours.html
    http://www.columbia.edu/cu/libraries/indiv/avery/hours.html
    http://www.columbia.edu/cu/libraries/indiv/biology/hours.html
    http://www.columbia.edu/cu/libraries/indiv/bmc/hours.html
    http://www.columbia.edu/cu/libraries/indiv/business/hours.html
    http://www.columbia.edu/cu/libraries/indiv/butlcirc/hours.html
    http://www.columbia.edu/cu/libraries/indiv/butler/hours.html
    http://www.columbia.edu/cu/libraries/indiv/butlref/hours.html
    http://www.columbia.edu/cu/libraries/indiv/butlres/hours.html
    http://www.columbia.edu/cu/libraries/indiv/chemistry/hours.html
    http://www.columbia.edu/cu/libraries/indiv/dsc/hours.html
    http://www.columbia.edu/cu/libraries/indiv/eastasian/hours.html
    http://www.columbia.edu/cu/libraries/indiv/eds/hours.html
    http://www.columbia.edu/cu/libraries/indiv/eng/hours.html
    http://www.columbia.edu/cu/libraries/indiv/ets/hours.html
    http://www.columbia.edu/cu/libraries/indiv/geology/hours.html
    http://www.columbia.edu/cu/libraries/indiv/geosci/hours.html
    http://www.columbia.edu/cu/libraries/indiv/jour/hours.html
    http://www.columbia.edu/cu/libraries/indiv/latam/hours.html
    http://www.columbia.edu/cu/libraries/indiv/lehman/hours.html
    http://www.columbia.edu/cu/libraries/indiv/lehsuite/hours.html
    http://www.columbia.edu/cu/libraries/indiv/manc/hours.html
    http://www.columbia.edu/cu/libraries/indiv/mathsci/hours.html
    http://www.columbia.edu/cu/libraries/indiv/mideast/hours.html
    http://www.columbia.edu/cu/libraries/indiv/music/hours.html
    http://www.columbia.edu/cu/libraries/indiv/oral/hours.html
    http://www.columbia.edu/cu/libraries/indiv/physics/hours.html
    http://www.columbia.edu/cu/libraries/indiv/psych/hours.html
    http://www.columbia.edu/cu/libraries/indiv/rare/hours.html
    http://www.columbia.edu/cu/libraries/indiv/slavic/hours.html
    http://www.columbia.edu/cu/libraries/indiv/socwk/hours.html
    http://www.columbia.edu/cu/libraries/indiv/southasia/staff.html
    http://www.columbia.edu/cu/libraries/indiv/under/hours.html

    Last revision: 11/20/03
    © Columbia University Libraries