From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuring Pathauto

Configuring Pathauto - Drupal Tutorial

From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Start my 1-month free trial

Configuring Pathauto

- [Instructor] Right now that we have chaos tools pathauto and token installed, let's go ahead and set up the patterns for our human friendly URLs. Head over to configuration search and metadata and click on URL aliases. URL aliases are generally speaking done by default in Drupal. And I'm going to encourage you, unless you have a really good reason, you should not change the URL aliase of a node. Now that does differ a little bit with landing pages but just remember you can't have two nodes on your site with exactly the same path, all right. What this is going to do is allow us to set up patterns for all of our content types. So for instance, an event is not going to be node/32 is going to be events/and the title of the node. So that's the pattern we're going to set up, all right. Click add pathauto pattern, choose content. We'll start with the article content type, and the pattern is going to be news/the title. Well…

Contents