Labs

By Alli Price | 22nd March 2012

Module: Extended path aliases (path to success!)

(Corny title, we know :) ) It's not often that we'd do a post on a single module, but today is that day...

Extended path aliases:
http://drupal.org/project/path_alias_xt

"Extended path aliases finishes the job left incomplete by core's Path module", it aliases paths like node/23/edit or user/14/my-favourites. This has long been a niggle with Drupal but a point that has been ignored. As developers it's understood why this happens but to a basic user it could be confusing to see the URL change between viewing and editing. By simply installing this module aliases appear! Wonderful!

It has a release for Drupal 6 and Drupal 7.

A possible use cases would be that you have a community site where users can build up a profile. A user will have an aliased path (users/alli-price), and we've added on extra tabs with views, for example there's a view with the path user/%/favourites.

This will create an extra tab on the users profile, and will resolve it's URL to be user/(uid)/favourites. With path_alias_xt installed, this would now be users/alli-price/favourites.

This module is not only a win for filling a long standing void in core and URL aliases, but also ensures better consistency for outward facing URLs, being a win for SEO. Highly recommended!

Comments

greg.1.anderson
greg.1.anderson

Thanks for pointing me to path_alias_xt; this is exactly how I wanted path_alias to work all along. Note, however, that if you want to use path_alias_xt with globalredirect, you'll need http://drupal.org/node/1494950.

RdeBoer
RdeBoer

Thanks for the rave review, guys!
Rik -- author & maintainer

Patrick
Patrick

That looks like a nicely built site.

It's a shame that repertoire is misspelled in the paths.

Alli Price
Alli Price

Hi Patrick,

I've tweaked the post and removed the original references, good spot, thanks!

Add new comment