Directory / plugin

Login Security – Custom Login URL

v2.0.0 · by Christian Zimpel

Move your login to a custom URL. wp-login.php and wp-admin answer logged-out visitors with a clean 404 page.

About this plugin

Bots hammer /wp-login.php on almost every WordPress site. This plugin moves the login form to an address only you know, for example example.com/my-door/, and answers requests to the default entry points with a regular 404 page of your theme.

Features

  • Choose any login URL – letters, numbers, hyphens and underscores.
  • wp-login.php, wp-register.php and /wp-admin/ return a real 404 status for logged-out visitors (no white screen, no redirect that gives the new URL away).
  • WordPress’ shortcuts /login, /admin and /dashboard no longer reveal the login.
  • Password reset, registration, logout and e-mail links automatically use the new URL.
  • Works with and without pretty permalinks. Your permalink settings are never touched.
  • Collision check: the plugin refuses slugs that are already used by WordPress, a page or a post.
  • Emergency switch: define( 'LSFW_DISABLE', true ); in wp-config.php.
  • No database tables, no rewrite rules, no tracking. Uninstall removes all options.

Why hide the login at all?

Honest answer: a hidden login is no replacement for strong passwords, two-factor authentication or a login limit. Its value is different – automated attacks stop hitting your login form, which means less server load, fewer lockouts of real users and cleaner logs. It is especially handy on sites with customer accounts where a .htaccess password is not an option, and it gives your customers a nicer login address. Combine it with 2FA for real protection.

Settings

Settings Login Security

Plugin tags