When we create a node, if the auto-generated url already exists, Pathauto will automatically add a number to the end of the url to prevent identical addresses. For example, say we have a page named "bienvenue". If we create another page that has the same title, the url generated by Pathauto will be "bienvenue-0". However, Pathauto should begin to 2 instead of 0, so we should have "bienvenue-2". It would be more realistic.
Comments
Comment #1
avpadernoI agree; it would be preferable if the added number would start from 2.
Comment #2
avpadernoAnyway, it's not a bug if the first used number is 0; this report is rather a feature request.
Comment #3
avpadernoComment #4
gregglesIf we change the functionality it would be in 6.x-2.x.
Personally I'm not sure about this. We do use "1" to mean "2" in some pretty visible places http://drupal.org/node?page=1
Comment #5
Jean-Philippe Fleury commentedHi greggles,
Personally I think that it's a non-sens to begin counting from 0 when it's for a public interface. It's not ergonomics for most people.
It's true that Drupal's pagination starts from 0, but I consider it as a lack, so I don't think that modules should imitate it. Also, there's a proposed patch to change this behavior in Drupal 7: #385270: Make the GET page variable consistent with the real page number
Thanks.
Comment #6
dave reidShould we maybe merge this with #179298: Make the 'unique' alias suffixes configurable?
Comment #7
avpadernoI agree it makes more sense to make the string added to URL aliases configurable.
Comment #8
mably commentedComment #10
mably commented