Allow exclusion of specific hosts/subdomains

Created on 10 February 2025, about 2 months ago

Problem/Motivation

The Language Selection Page module currently applies language selection logic to all requests, regardless of the domain or subdomain. This can cause unintended redirects on admin panels, staging environments, or other subdomains where language selection is not necessary.

For example, when using Cloudflare:

  • domain.com is routed through Cloudflare and benefits from its caching and optimizations.
  • admin.domain.com is bypassing Cloudflare but still gets affected by the module’s redirects, which may not be necessary or desired.

Proposed resolution

Introduce a configuration option that allows excluding specific hosts/subdomains from the module’s behavior.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany stillworks

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

Comments & Activities

Production build 0.71.5 2024