Is there an alternative to drupal_get_path_alias that is provided by this module? It's doing exactly what I need- and thank you for that. However, I'm having an issue because I can't programmatically build seo friendly links now.

Comments

mattsmith3’s picture

An interesting note: the view field Path still brings up the node alias. With the right setup this is an alternative, though I'd still like to get something as a function that I can use.

Collins405’s picture

For anyone else running into this, just use drupal_get_path_alias() on the node/123 and add the extension you need.

e.g.

drupal_get_path_alias('node/123/edit');

Will not work, but...

drupal_get_path_alias('node/123').'/edit';

will