Add a Redirect

Your current site and your federated model site will likely have corresponding pages, such as a news page on each site, but the URLs for the pages will likely be different. Consider the following example:

Current site Federated Model Site

Section: About Us > News and Communications

Section: Newsroom > News

URL: my-site.duke.edu/about-us/news-and-communications URL: my-site.duke.edu/about-us/newsroom/news

 

Once the new site goes live, anyone who tries to access the news page via the old URL will receive an error message unless you add a redirect from the current page to the new one.

Unless you have a site with a small number of pages, it is impractical to try to add redirects for all pages on your current site. Instead, identify significant pages on your site and make note of the path, the part of the URL after my-site.duke.edu (including the slash), for each set of corresponding pages. For instance, the main news page of your site is likely a significant page, but an article from 2009 would likely not be a significant page.

Current site Federated Model Site

URL: my-site.duke.edu/about-us/news-and-communications

URL: my-site.duke.edu/about-us/newsroom/news

Path: /about-us/news-and-communications Path: /about-us/newsroom/news
  • Select Configuration > Search and metadata > URL redirects > Add redirect from the top admin menu.
  • Add the path for a page from your current site (see the example above in Before you begin) to the Path field.
  • Add the path for the corresponding page on your federated model in the To field.
  • Save.

You can create short URLs for important pages on your federated model site. For instance, you may want to create a short URL for marketing purposes to a conference page.

Existing federated model path: /news-events/events/conferences-symposiums/biannual-conferences/fifteenth-biannual-conference-with-long-title
Short path: /2021-conference

  • Select Configuration > Search and metadata > URL redirects > Add redirect from the top admin menu.
  • Add the path for an existing page (see the example above) to the Path field.
  • Add the short path in the To field.
  • Save.

You don't have to do anything! When you rename a page, a new path is automatically made for the page based on the new name, and a redirect from the old path to the new path is also automatically made.