Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Hands-On: Automating URL Aliases

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    with Addison Berry
  • 0:10
    OK, so now it's time to set
  • 0:12
    up our path aliases on our site.
  • 0:14
    And we're going to use path auto to automate it for us so that we
  • 0:17
    don't have to think about this anymore.
  • 0:20
    So in this lesson we're going to take
  • 0:22
    a look at path auto configuration.
  • 0:24
    Now there are two screens for it, one setting up patterns
  • 0:27
    and one for basic settings.
  • 0:29
    But luckily the basic settings that are set by default work great.

Hands-On: Automating URL Aliases


To get those handy human-readable URLs on our site, we are going to use the Pathauto module. As we discussed earlier, this relies on the Token module as well as the core Path module. The Pathauto settings are divided over two pages: one page to set up the actual replacement patterns, and another one to configure Pathauto’s general settings. These configuration pages can seem a bit intimidating at first. Luckily, most of the defaults are what most sites will want to use anyway, so that makes our job with configuration a lot simpler than it may first appear. In this lesson we'll configure some path patterns using tokens, and then get all of our existing content using the new patterns by using the bulk update feature of Pathauto.