In using URL aliases, is there a way to have conditional token usage? An example of what I'm looking for is:
- I have programs on my page, each having their own unique program code.
- By default, say my program is General Arts, the URL alias would be /programs/general-arts
- However, sometimes, the programs may have multiple program codes due to being taught in different locations.
- What I'd like (if it's possible at all) is when I create another program with the same name (let's use General Arts again for example), except it has a different program code, I'd like the URL alias' to then be /programs/general-arts-C123 for the first one and /programs/general-arts-D321 for the second one because they're the same program, just different program codes (due to being taught in different locations). Pretty much appending the course code to the end of the URL to distinguish the two.
Or is the only way to do something like this is to manually override the URL alias and put the custom URL in?