Skip to Main Content

A Collection of Reusable Boxes (HSL): How do I?

Redirect Subpages of a Guide When Creating a New Guide?

If the new guide will have the same homepage URL as the old guide:

  • Set up new guide & friendly URL's  
    • e.g. /systematic-reviews-2
  • Map old guide friendly URL's to new guide friendly URL's
    • e.g. systematic-reviews/process will become /systematic-reviews-2/overview
  • Create hidden pages on new guide matching old URLs
    • e.g. /systematic-reviews-2/process
  • Redirect hidden pages to new content on new guide as if the new guide had the URL you want
    • only use /guidename/pagename for redirect URL, NOT guides.lib.unc.edu portion (/systematic-reviews-2/process NOT guides.lib.unc.edu/systematic-reviews-2/process)
    • /systematic-reviews-2/process should redirect to /systematic-reviews/overview

The successful redirect will just be /guide-name/page-name, for example /systematic-reviews/overview

  • When finished creating/redirecting subpages, make sure new guide has all Subjects and Tags from old guide and make Public
  • Switch friendly URL of old guide to something else
    • e.g. /systematic-reviews-legacy
  • Switch friendly URL of new guide to that of the old guide
    • e.g. /systematic-reviews-2 becomes /systematic-reviews
  • Make old guide Private

If creating a "legacy guide" of the content, you may want to just make a copy of the old guide and add -legacy to the friendly URL