Hello
When creating a new node, I run into this:
URL path settings [39][ ] Automatic alias An alias will be generated for you. If you wish to create your own alias below, untick this option.
I am creating a lot of nodes where I want single element path names. For example, "www.newlifehv.org/children". So when creating the node, I uncheck that box, and fill in "children" in the following field, and all works as one would expect.
However, when editing that same node later, the box is automatically checked again.
I already have an alias (which is shown in the "path" text field), so why would I want it to generate one?
I always untick that box before submitting, but (1) why is it automatically checked; and (2) what is the effect of leaving it checked when I submit, if I already have an alias in the path field?
I intend later to have unreliable users working with nodes, and while permissions will probably prevent them from touching pathauto options, I would like to preemptively resolve potential headaches.
Thanks and regards,
Luke
Hello,
Luke wrote:
Hello
When creating a new node, I run into this:
URL path settings [39][ ] Automatic alias An alias will be generated for you. If you wish to create your own alias below, untick this option.
I am creating a lot of nodes where I want single element path names. For example, "www.newlifehv.org/children". So when creating the node, I uncheck that box, and fill in "children" in the following field, and all works as one would expect.
However, when editing that same node later, the box is automatically checked again.
I already have an alias (which is shown in the "path" text field), so why would I want it to generate one?
I always untick that box before submitting, but (1) why is it automatically checked; and (2) what is the effect of leaving it checked when I submit, if I already have an alias in the path field?
It is checked because you enabled the "pathauto" module which does this for you. If you don't want automated aliases there is no point in having the module enabled. Don't forget that you can still create aliases manually with the "path" module which is part of Drupal core.
If however, you leave it on and leave the box checked the alias will update if the node title changes which can lead to unwanted behavior. For example, you manually created the alias "home" to link to "node/1" and set the default home page of the website to "home" while the node title is something like "Welcome to my site". When editing the node the alias will automatically update to "content/welcome-to-my-site" and the "home" alias will be removed.
I intend later to have unreliable users working with nodes, and while permissions will probably prevent them from touching pathauto options, I would like to preemptively resolve potential headaches.
Thanks and regards,
Luke
- Jensen
On Sat, Aug 23, 2008 at 2:55 PM, Luke drupal@lists.tacticus.com wrote:
I am creating a lot of nodes where I want single element path names. For example, "www.newlifehv.org/children". So when creating the node, I uncheck that box, and fill in "children" in the following field, and all works as one would expect.
However, when editing that same node later, the box is automatically checked again.
I already have an alias (which is shown in the "path" text field), so why would I want it to generate one?
I always untick that box before submitting, but (1) why is it automatically checked; and (2) what is the effect of leaving it checked when I submit, if I already have an alias in the path field?
I intend later to have unreliable users working with nodes, and while permissions will probably prevent them from touching pathauto options, I would like to preemptively resolve potential headaches.
Hi Luke,
Perhaps the behavior you desire can be controlled by the "Update action" settings in the Pathauto settings. Under 5.x this is at admin/settings/pathauto under Pathauto 6.x this is at admin/build/path/pathauto
Another feature that people want is for Pathauto to "remember" the state of the checkbox if you have unchecked it once. I spent a bit of time on that but was unable to see it to completion. Freso (the Pathauto co-maintainer) has offered to start to work on that problem if he is able to raise enough community funding for it. See the details in http://drupal.org/node/180440#comment-974176
Best regards. Greg
On Sat, 23 Aug 2008, Greg Knaddison - GVS wrote:
Perhaps the behavior you desire can be controlled by the "Update action" settings in the Pathauto settings. Under 5.x this is at admin/settings/pathauto under Pathauto 6.x this is at admin/build/path/pathauto
Currently set to "Create a new alias. Leave the existing alias functioning.". Perhaps I should revise to "do nothing", as this should not effect new alias creation for nodes which didn't previously have one, I should think.
Another feature that people want is for Pathauto to "remember" the state of the checkbox if you have unchecked it once. I spent a bit of time on that but was unable to see it to completion. Freso (the Pathauto co-maintainer) has offered to start to work on that problem
Yes, that would be ideal. I don't really want to disable pathauto as someone suggested, because it is useful for other things. It just happens that this particular series of nodes is effected adversely by it.
Thanks
Luke w
This might also be of interest http://drupal.org/node/228762
-----Original Message----- From: Greg Knaddison Sent: Sunday, 24 August 2008 12:08 AM To: support@drupal.org Subject: Re: [support] Node url path settings, automatic aliases, and pathauto
On Sat, Aug 23, 2008 at 2:55 PM, Luke wrote:
I am creating a lot of nodes where I want single element path names. For example, "www.newlifehv.org/children". So when creating the node, I uncheck that box, and fill in "children" in the following field, and all works as one would expect.
However, when editing that same node later, the box is automatically checked again.
I already have an alias (which is shown in the "path" text field), so why would I want it to generate one?
I always untick that box before submitting, but (1) why is it automatically checked; and (2) what is the effect of leaving it checked when I submit, if I already have an alias in the path field?
I intend later to have unreliable users working with nodes, and while permissions will probably prevent them from touching pathauto options, I would like to preemptively resolve potential headaches.
Hi Luke,
Perhaps the behavior you desire can be controlled by the "Update action" settings in the Pathauto settings. Under 5.x this is at admin/settings/pathauto under Pathauto 6.x this is at admin/build/path/pathauto
Another feature that people want is for Pathauto to "remember" the state of the checkbox if you have unchecked it once. I spent a bit of time on that but was unable to see it to completion. Freso (the Pathauto co-maintainer) has offered to start to work on that problem if he is able to raise enough community funding for it. See the details in http://drupal.org/node/180440#comment-974176
Best regards. Greg