Enabling "Rename user path" makes all users/* paths generate 404's

Created on 2 May 2022, over 2 years ago
Updated 13 June 2023, over 1 year ago

Problem/Motivation

After enabling "Rename user path" in the configuration for this module, all users/* paths generate a 404 in the browser. For example: Browsing to https://www.mydrupalsite.org/users/testuser will generate a 404 page where "testuser" is a valid username for the Drupal instance at mydrupalsite.org. Disabling "Rename user path" makes it so all users/* paths go to their respective pages (showing the normal stuff like View tab, Edit tab, etc.)

Steps to reproduce

  1. Install and enable the rename_admin_paths module (version 7.x-2.4).
  2. Browse to the configuration page for this module at admin/config/user-interface/rename-admin-paths.
  3. Check the checkbox labeled "Rename user path".
  4. Fill in an alias in the text box labeled Replace "user" in user path by.
  5. Click the "Save configuration" button.
  6. Browse to any users/username path (where username is any valid Drupal username in the instance) and the page will return a 404.

Proposed resolution

Locate and modify the PHP code in the module that is generating this issue.

Remaining tasks

?

User interface changes

?

API changes

?

Data model changes

?

πŸ› Bug report
Status

Closed: duplicate

Version

2.4

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States spomerg

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024