Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently:
Automatic alias
An alias will be generated for you. If you wish to create your own alias below, uncheck this option. To control the format of the generated aliases, see the [link]URL alias patterns[/link].
Proposal:
Generate automatic alias
Uncheck this to create a custom alias below. [Link]Configure URL alias patterns[/link]
Comment | File | Size | Author |
---|---|---|---|
#1 | 1325976-fewer-words.patch | 1.21 KB | yoroy |
#1 | 1325976-fewer-words.png | 69.58 KB | yoroy |
Comments
Comment #1
yoroy CreditAttribution: yoroy commentedComment #2
Dave ReidSeems reasonable to me. I'd also like to get your opinion if we should be showing what the raw pattern is for the content.
Comment #3
yoroy CreditAttribution: yoroy commentedIn that case, why not preview the actual URL that will be generated based on the pattern? That is, if I'm understanding 'raw pattern for the the content' correctly.
From the specific example you would also be able to deduce the underlying pattern.
Comment #4
Dave ReidNo, it would showing something like "The automatic alias pattern will be generated as content/[node:title]" Actually doing a live preview of the pattern is a much, much harder problem that timmillwood tried to solve and couldn't and I don't have the time to. I should have probably not asked. :)
Comment #5
yoroy CreditAttribution: yoroy commentedProbably :)
I don't think it would *much* help to show the generic pattern. Only useful during pathauto setup, the first couple of times to find the right pattern, after that this setting should be fine and you don't need to be reminded.
Comment #6
Dave ReidCommitted #1 with some very minor tweaks to both 7.x-1.x and 6.x-2.x.
http://drupalcode.org/project/pathauto.git/commit/473680e
http://drupalcode.org/project/pathauto.git/commit/2cb1cfe
Thanks yoroy!