Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
The system described in #4 is already part of the way that Pathauto works.
The system described in #5 is not currently possible. My feeling is that this is a nice to have, but not terribly important feature. And, since it would clutter the user interface, I think it should be marked "won't fix".
@Freso - do you have a feeling about whether we should support that?
Comments
Comment #1
Freso commentedComment #2
gregglesI'm having a hard time understanding what you mean.
Can you please expand a little more on the topic?
Thanks.
Comment #3
vm commentedI think the user is trying to say that when a duplicate title is entered to have pathauto automatically add a hypen and a number at end.
example:
mystory = 1st path
mystory-1 = 2nd path if 1st path is already in use
Comment #4
vm commentedComment #5
bdtushar commentedexample:
mystory = 1st path
mystory-1 = 2nd path if 1st path is already in use
but i want
mystory = 1st path
1-mystory = 2nd path if 1st path is already in use
Comment #6
gregglesThe system described in #4 is already part of the way that Pathauto works.
The system described in #5 is not currently possible. My feeling is that this is a nice to have, but not terribly important feature. And, since it would clutter the user interface, I think it should be marked "won't fix".
@Freso - do you have a feeling about whether we should support that?
Comment #7
Freso commented@greggles: I'm thinking perhaps marking this a duplicate of #212208: allow other modules to affect strings (to help with custom accent/string replacement) and moving the current code that does the "title-n" thing to be a child of this.
Comment #8
gregglesOk - let's see how that issue progresses and mark this as a postponed feature until then.
Comment #9
dave reidThat did not progress. At this point this should be a won't fix.
Comment #10
gregglesWon't fix in favor of hook_pathauto_clean_alias() which doesn't exactly provide control over this but gets close.