URL Redirects

URL Redirects

As of the writing of this document, NHMLAC is "deep-linking" to the ACME white label site. ACME URLs are inserted across various Drupal pages. These links are generally not easily understandable and are subject to change. Therefore, it is best practice to create URL redirects on Drupal so that the ACME links can be changed without having to edit content on Drupal and to make the URLs more human readable.

Redirect patterns

Below is the general pattern of a redirect url: {domain.org}/tickets/{is-member}/{event-name}

Example: nhm.org/tickets/non-members/dinofest

parameter-namedescriptionpossible values
domainThe domain (website) that should point to the ACME link.tarpits.org nhmlac.org nhm.org
ticketsSpecifies that the domain is an ACME endpoint.tickets
is-memberDesignates who has access to the event. If it is an all access event, use eventsnon-members members events
event-nameThe name of the ticketed event. If this is left blank it will lead to general admission.