Include an optional hook_update_N() to remove any existing redirects

Created on 23 September 2014, almost 10 years ago
Updated 2 May 2024, about 2 months ago

Problem/Motivation

Enabling pathauto and redirect module and setting redirect to " Automatically create redirects when URL aliases are changed." (default behaviour), change a node's url from (original) to (something else). Then, change the node's url back to (original). Result: Infinite loop warning appears on node access.

Proposed resolution

Include an optional hook_update_N() to remove any existing redirects that uses the same approach as https://www.drupal.org/node/2336357 β†’ .

Remaining tasks

Decisions, decisions.

User interface changes

n/a

API changes

n/a

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

heddn Nicaragua

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024