Allow custom path alterations

Created on 18 April 2025, 27 days ago

Problem/Motivation

The current configuration only allows the main admin path argument to change (ie. user/login to member/login). This also changes the url for all admin paths (ie. user/login, user/logout, user/register, user/password, etc.). Although this might be suitable in most use cases, what if we only want to change one path (ie. user/login to login/here instead of member/login for instance)?

Proposed resolution

Allow unlimited custom path renaming. See attached patch.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States uberhacker

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

Comments & Activities

  • Issue created by @uberhacker
  • πŸ‡ΊπŸ‡ΈUnited States uberhacker
  • πŸ‡ΊπŸ‡ΈUnited States uberhacker

    Fixed bug in #2.

  • πŸ‡ΊπŸ‡ΈUnited States uberhacker
  • πŸ‡―πŸ‡΅Japan ptmkenny

    Thank you for this suggestion, but I feel like adding arbitrary renaming of any path is out-of-scope for this module. Such renaming should be done in a different module (whether custom code or another contrib module).

    There is an open issue for allowing node paths to be renamed ( ✨ Rename Node paths Needs work ), which I would consider adding to this module, but I think that allowing any path to be renamed adds too much complexity and could result in lots of support requests in the event of misconfiguration.

    If you create your own module that adds this feature, I'd be happy to link to it as an alternative on the project page.

Production build 0.71.5 2024