---
title: "Change the WordPress login URL"
description: "Change your WordPress login URL in one step, tested before activation: wp-login.php and wp-admin return a 404 and bots lose their target. Pro limits attempts."
language: "en"
locale: "en-US"
type: "page"
canonical: "https://www.wp-feint.com/features/custom-login-page/"
published: "2026-10-27T23:16:52+00:00"
modified: "2026-11-22T12:06:29+00:00"
translations:
  en-US: "https://www.wp-feint.com/features/custom-login-page/index.md"
  fr-FR: "https://www.wp-feint.com/fr/fonctionnalites/page-de-connexion/index.md"
  es-ES: "https://www.wp-feint.com/es/funcionalidades/pagina-de-acceso/index.md"
  de-DE: "https://www.wp-feint.com/de/funktionen/anmeldeseite/index.md"
  it-IT: "https://www.wp-feint.com/it/funzionalita/pagina-di-login/index.md"
  pt-BR: "https://www.wp-feint.com/pt/recursos/pagina-de-login/index.md"
  nl-NL: "https://www.wp-feint.com/nl/functies/inlogpagina/index.md"
---

# Change the WordPress login URL

Move your login page to a URL only you know. WP Feint tests it before activating it, so you can’t lock yourself out.

## What this module does

Every bot knows where to log in to a WordPress site: `/wp-login.php` and `/wp-admin/`. The **Login page** module gives you a custom URL, for example `/member-area/`, then closes the old one to visitors who aren’t logged in.

## Why it helps

Mass password-guessing attacks go after the standard login URL first. When it returns “[page not found](https://www.wp-feint.com/glossary/404-error/)”, most bots move on, your logs stay cleaner, and an attempt on the old URL can be counted as a [trap](https://www.wp-feint.com/features/bot-traps/).

## Tested before it goes live

The new URL is only activated once it has proven that it works. After you save, the status changes to “Awaiting test”: click **Test and activate the new login** (Protection tab). If LiteSpeed Cache or another caching plugin is active, exclude the new URL from the cache first, as explained on the [compatibility page](https://www.wp-feint.com/features/hosting-and-cache-compatibility/).

Write down your new URL and keep it safe: it appears in the banner after activation.

## Free or Pro

### In the free version Free

- Custom login URL
- wp-login.php and wp-admin return a 404 to visitors who aren’t logged in; AJAX and forms keep working
- Safe activation test

### With WP Feint Pro Pro

- Unknown AJAX and admin-post requests: 404 instead of the WordPress error; real ones keep working
- Attempt limiting and neutral error messages (see [login attempt limiting](https://www.wp-feint.com/features/login-attempt-limiting/))
- [Two-factor authentication (2FA)](https://www.wp-feint.com/features/two-factor-authentication/) after the password

## Levels

| Option | Effect | Version |
| --- | --- | --- |
| No change | Login stays on wp-login.php. | Default |
| Add a custom URL | The new URL works, and so does the old one. Ideal for the transition. | Free |
| Hide wp-login.php and wp-admin | wp-login.php and wp-admin return 404 to logged-out visitors: the new address is never revealed. AJAX and forms keep working. | Free |
| Also silence AJAX errors | Unknown AJAX and admin-post requests also return 404 instead of the WordPress error. Real ones keep working. | Pro |
| Also limit attempts | Temporary lockout after several failures, neutral error messages. | Pro |

*Users who are already logged in keep their access at every level.*

!["Login page" and "New login address" settings: five levels, from keeping wp-login.php to limiting login attempts, and the login path field](https://www.wp-feint.com/media/2026/10/admin-connexion.webp)

## Choosing the URL

Lowercase letters, digits, and hyphens. The default suggestion is `member-access`; it’s better to pick a name unique to your site. Avoid a name that already matches an existing page.

## Limitations and precautions

- Test on your own site: login, logout, lost password, password reset, registration, expired session, and login through a third-party service.
- Exclude the login URL from your page cache before testing.
- Don’t combine this module with WPS Hide Login, WP Hide, or Hide My WP: two disguises will conflict. The diagnostics flag them.
- If you get locked out, adding the line `define('CMS_FEINT_DISABLE', true);` to wp-config.php reopens wp-login.php. [See recovery](https://www.wp-feint.com/docs/#recuperation).

### Related reading

- [Two-factor authentication](https://www.wp-feint.com/features/two-factor-authentication/)
- [Login attempt limiting](https://www.wp-feint.com/features/login-attempt-limiting/)
- [Email alerts and weekly report](https://www.wp-feint.com/features/email-alerts/)
- [Hardening: XML-RPC, pingbacks, authors](https://www.wp-feint.com/features/hardening/)

## Start free, upgrade to Pro when you’re ready

The free version already hides WordPress, moves the login page, blocks [XML-RPC](https://www.wp-feint.com/glossary/xml-rpc/) and counts bots. Pro locks down logins, renames file URLs and monitors your sites for you: known vulnerabilities, core integrity, activity log, email alerts and the update status of all your sites in your member area. From €59 per year excl. tax, far less than the cleanup offers whose prices we checked. [Compare the costs](https://www.wp-feint.com/pricing/#cout-piratage).

[See Pro pricing](https://www.wp-feint.com/pricing/)

[Download the free version](https://www.wp-feint.com/download/)
