Skip to Content

Site Improvement: Paths That Make Sense

As a second consequence of working on Drupal at the day job, site requirements pushed me into fixing up the URLs of the various pages on the site. In fact, I ended up finding a module for Drupal that will make the URLs fancy automagically.

It's called the Pathauto module -- change the PATH AUTOmatically.

Here's what it did. Here's a typical URL from the site:

http://parkspages.com/node/3

Doesn't tell you anything, does it?

Here's how Pathauto changes it and makes it much more useful:

http://parkspages.com/doug

Here's a couple more:

Blog Entries

Time for a Tune Up: http://parkspages.com/blog/time-tune
Gasoline Prices: http://parkspages.com/blog/gasoline-prices
An Equality Meme: http://parkspages.com/blog/equality-meme

Book Pages

Doug's Book --> Games --> List of Games: http://parkspages.com/doug/games/list-games
Wayne's Book: http://parkspages.com/wayne

Additionally, when you reference these pages in other pages, you can use the simple URL path. Basically, to point people to a blog entry, you don't need to add the whole path (http://parkspages.com/blog/good-news-bad-news-you-decide), you can instead reference it to the main page, and just enter "/blog/good-news-bad-news-you-decide" (when using HTML in your posts).

Just one more way I'm making this website more accessible for the many folks that use it. Heh heh.

Up next: WYSIWYG editing for pages and blog posts.