Working with page paths

The address of a web page, referred to as its path or hyperlink or URL, plays a foundational role in visitor navigation. It conveys information about the page’s relationship to other site content. It also controls how a page shows in site breadcrumbs.

In Drupal, pages have unique internal URLs such as /node/123 but can also have user-friendly “URL aliases” for public display, such as /about/visiting-faculty. The Drupal Kit generates automatic URL aliases from the page title. Alternatively, you can set a custom URL alias in the right sidebar of a page’s “Edit” interface:

  1. Deselect the box next to “Generate automatic URL alias”:

Image showing URL alias form on edit/create page

Field to set the URL alias on the Edit page form.

Note

The URL alias should clearly indicate what information users will find when visiting the link. Keep in mind when configuring aliases for website pages:

  • Use hyphens to separate words instead of spaces (e.g., /contact-us, not /contact us).

  • Avoid capitalization (e.g., /visiting-faculty, not /Visiting-Faculty).

  • Be specific: use keywords from page content to make each link distinct.

  • Be succinct: use enough words to be specific, but no more.