Drupal at Cal Poly

Cal Poly's Content Management System

Using URL Aliases

What is a URL Alias?

A URL alias - also known as a path - is the text that appears after the .edu/ portion of your Drupal site's URL. Every Drupal page will have at least one URL alias. For example:

If the URL is: drupal.calpoly.edu/user-guides
The URL alias (or path) is: user-guides

How Do I Edit a URL Alias?

By default, Drupal will automatically generate a URL alias based on your page's title. You can customize your URL alias by selecting the URL alias option near the bottom of the Edit Draft page, un-checking the Generate Automatic URL Alias box, and then editing the text field.

URL Alias Configuration Screenshot

Can I Have Multiple URL Aliases For A Single Page?

Yes! The following steps can be used to create additional URL aliases that point to the same page (if you simply want to edit the existing alias, do that from the URL path settings section).

  1. Go to Configuration, then click URL Aliases under the Search and Metadata section.
  2. Click +Add Alias
  3. The system path is the page you will be linking to. You can start typing the title of your target page here and Drupal will attempt to auto-complete for you. Select the correct page from the list that appears and Drupal will insert the node ID number.
  4. Path alias is where you define the URL that will take users to the page you selected in the previous step. You only need to enter the path, as your site domain is included.
  5. Click Save.
Why Would I Use Multiple URL Aliases?

There are a variety of possible reasons, but a common use case is marketing. If you want to create an additional URL that's short and simple to put on a flyer, for example, you can use these steps to facilitate that.

This page's default URL is longer, but we've also created a shorter and cleaner URL that we can advertise with. Both of the below URLs will direct you to this page: drupal.calpoly.edu/url-aliases
drupal.calpoly.edu/content/user-guides/something-random/url-aliases

Related Content

Cal Poly's WCMS

Drupal Since 2009 Badge

Drupal has been Cal Poly's web content management system since 2009.

More About Drupal

Quick Start Guide

  • Quickstart Icon

    Learn
    Drupal Basics

  • Our Drupal 7 Quick Start Guide will help you get up and running in no time.

Start Drupalling!

User Management

  • User Management Icon

    Learn
    Users and Roles

  • Site admins can learn how to add/remove users, and what roles to grant their users.

User Management

Drupal Webforms

  • Webforms Icon

    Learn
    Webforms

  • This Webforms guide features a new interface to help you find the answer to all your questions quickly!

Webforms Guide

Mailing List

  • Mailing List Icon

    Follow
    Drupal Updates

  • Subscribe to our mailing list to stay up-to-date on Drupal news.

Subscribe