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:

Before After
drupal.inmotiontesting.com/node/5 drupal.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

If you need further assistance please feel free to ask a question on our support center.

Leave a Reply