Working with URL aliases in Drupal 7

Drupal allows you to further customize your website by setting up search engine optimized URLs called aliases. In this tutorial, we’ll explain further what URL aliases are and how you can use them in your Drupal 7 website.

What are URL Aliases

URL aliases allow you to provide a more understandable URL to content such as pages and articles in Drupal. On our site, since we have not set up an alias for “Our test page” it’s actual URL is “node/5”. URL aliases allow us to customize the URL with a more meaningful URL so we can actually change the URL from “node/5” to “our_test_page”. So let’s take a look at an example:

BeforeAfter
drupal.inmotiontesting.com/node/5drupal.inmotiontesting.com/out_test_page
drupal_url_alias_1

drupal_url_alias_23

How to enable URL Aliases in Drupal 7

  1. Log into the Drupal dashboard
  2. Go to Configuration >> Search and Meta Data >> URL Aliases
  3. Click Add alias
  4. drupal_url_alias_3

  5. Fill in the Existing system path and the Path alias
  6. Click Save

For more step-by-step guides and practical tips, visit our Drupal Education Channel.

Carrie Smaha
Carrie Smaha Senior Manager Marketing Operations

Carrie enjoys working on demand generation and product marketing projects that tap into multi-touch campaign design, technical SEO, content marketing, software design, and business operations.

More Articles by Carrie

Was this article helpful? Join the conversation!