Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

custom_login_url

1,146 sites Security covered
View on drupal.org

CONTENTS OF THIS FILE
---------------------

* Introduction
* Requirements
* Installation
* Configuration
* Maintainers

INTRODUCTION
------------
The Custom Login Url allows you to redefine the url of the administration login
form.

By default, the url of the administration login form is `/user`.
For security reasons, you might want to redefine this url to another one.
This can avoid robots connection trials.

REQUIREMENTS
------------

This module requires the user module:
- drupal/user

INSTALLATION
------------

Install the Custom Login URL module as you would normally install a contributed
Drupal module. Visit https://www.drupal.org/node/1897420 for further
information.

CONFIGURATION
-------------

After enabling the Custom Login Url module, you can add your own connexion
base url into your settings.php as so :
```
/**
* Redefine the login base url.
*/
$settings['custom_login_pattern'] = 'my_login_url/';
```

Now you can access the login form here : 'www.my-domain.com/my_login_url/login'
The default url /user should now send a 404 response.

MAINTAINERS
-----------

* Thomas Sécher - https://www.drupal.org/u/tsecher

Supporting organization:

* Lycanthrop - https://www.drupal.org/lycanthrop

Activity

Total releases
1
First release
Feb 2026
Latest release
2 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.1.0 Stable Feb 11, 2026