- Issue created by @anapicon
- Status changed to Needs review
about 1 month ago 11:11am 11 November 2024
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.
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 /
.
Active
Code