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

Comments

wylbur’s picture

Title: Follow-up: Fix existing bad redirect data » Include an optional hook_update_N() to remove any existing redirects
Category: Bug report » Feature request

Updating the title, and changing this to a feature request.

wylbur’s picture

Status: Active » Closed (outdated)

Closing this as Outdated as Drupal 7 is EOL.