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.

Spotlight: Pathauto

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
  • 0:06
    with Addison Berry
  • 0:10
    As we create content on our site,
  • 0:12
    if you look at the URL for each of the articles that you create, say,
  • 0:17
    you'll notice that it says something like node/ and then
  • 0:20
    a number after it, like 452 or 572.
  • 0:24
    Now, this works in terms of being able to have a URL, go to the page
  • 0:29
    and read the content.
  • 0:31
    But it doesn't really give you any information
  • 0:32
    about what's on that page.

Spotlight: Pathauto


In the Drupal Jumpstart series, you learned about Drupal paths and how to use clean URLs. One reason to use clean URLs is so that they don’t look so ugly. That helps, but still leaves the URLs lacking a bit. Having a URL with node/123 in it doesn’t really tell either humans or search engines much about the page itself. Isn’t it much better to have a URL with something like "article/new-moon-discovered" in it? That will be much more memorable, and the addition of pertinent keywords in the URL makes for better search engine optimization. In this lesson we'll look at a module that helps us automate this process, Pathauto. We'll get an overview of core path aliases, and how pathauto patterns and replacement tokens work.