Pathauto with custom paths

I have had the urge to adjust the automatically-generated paths that Drupal’s Pathauto module provides for each story I post. Today, I took a quick look at Pathauto after some brief Web searches on this topic, and found that making changes was remarkably easy.

New articles I post to Irreality will now have a default path that corresponds to the year, month, and day, followed by the article title. Therefore, I can predict that this article will end up being at “/2007/05/03/pathauto_and_custom_paths.”

Thanks to the facilities in Pathauto, I’ve also generated:

  • supplemental paths for already-existing stories (without replacing their old paths right off the Web root)
  • index pages for each segment of each path, such as the years, months, and days
  • news feeds for each new index.

It wasn’t obviously to me how to do all of this upfront, but the power of Drupal is really growing on me as I learn more tidbits like this.