When I enter an aliased path in the "from" box, it converts it to the Drupal node path upon save. I believe the "from" box should always keep what you have entered.
Since it is using the node number, if I delete the node, or if I change the aliased path, the alias I intended to create will no longer work.
Example:
- I create a page at node/2 with an alias of "test". Therefore the url is example.com/test (which is actually example.com/node/2).
- I create a redirect from "test" to "newtest". If users go to example.com/test or example.com/node/2, they are redirected to example.com/newtest.
- I change the alias of "test" to "oldtest". If users go to example.com/test, they get a 404. If users go to example.com/oldtest or example.com/node/2, they are redirected to example.com/newtest.
- I change delete the "oldtest" (formerly "test") page. If users go to example.com/test, example.com/oldtest, or example.com/node/2, they get a 404.
Since we can reasonably expect that users are not bookmarking the node/2 url, we shouldn't automatically change to this, so that the example.com/test redirect will always work regardless of whether or not the alias of the original content has been changed, or if the original content is deleted.
Please let me know if you would like me to try to clarify this any further.
Comments
Comment #1
pere orgaClosing as duplicate of #1288768: Conflict between an old redirect (with Redirect module) and a new automatic alias (with Pathauto)., as I'm understanding this is about aliases and redirects and will be affected by that solution