Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Node Edit Redirect

27 sites Security covered
View on drupal.org

This module corrects the URL when editing a translated node if Drupal falls back to a different language translation. It ensures the language prefix in the edit URL matches the language of the node being edited, preventing confusion when translations are missing.

This module fixes node edit URLs when Drupal falls back to an existing
translation because the requested translation does not exist yet.

When content language negotiation is based on the URL (prefix/domain), Drupal
normally redirects to the correct language prefix when editing an existing
translation. However, when a requested translation is missing, Drupal may fall
back to another translation while keeping the requested language in the URL.
This module redirects the edit form to the URL language that matches the
translation actually being edited.

Example

1. Content language is negotiated based on prefix. See also:
https://api.drupal.org/api/drupal/includes!language.inc/group/language_n...

2. When editing an English node while the prefix is French, the following redirect will happen:

/fr/node/3 => /en/node/3

The prefix language code now matches the language of the node.

Example use cases

- When relying on the "Current user's language" option from Views in the node
edit form, such as when using the entityreference_view_widget module.

- When using the i18n_select module, and term references/entity references
only show up if the referenced entities have the negotiated content language.

- When wanting to ensure that localized taxonomy terms appear in the same
language on the edit form as they do on the node.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
2 weeks ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.0 Stable Aug 7, 2026
2.x-dev Dev Aug 7, 2026