Redirect to the requested page instead of the homepage when the language is disabled

Created on 11 July 2024, 5 months ago

Problem:

The disable_language module currently redirects to the homepage of the website when attempting to access a page in a disabled language. This can cause a confusing user experience, as users are not redirected to the page they were originally trying to visit.

Proposed Solution:

This patch modifies the behavior of the disable_language module to redirect to the requested page in the default language of the website, instead of redirecting to the homepage. For example, if a user tries to access /de/node/1 and the German language is disabled, the user will be redirected to /node/1 in the default language of the website, instead of being redirected to the homepage /.

📌 Task
Status

Active

Component

Code

Created by

🇪🇸Spain anapicon

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

Comments & Activities

Production build 0.71.5 2024