Description
Simpli Custom Login URL Obfuscator lets site administrators choose a custom URL path for the standard WordPress login screen. When the custom path is set, the plugin routes requests for that path to WordPress’s existing login handler and responds with a 404 for direct requests to the default wp-login.php or legacy wp-register.php paths.
It can also optionally return a 404 to logged-out visitors requesting /wp-admin/. Logged-in users can still use the WordPress administration area. The login form and its authentication process remain those provided by WordPress; the plugin does not create a separate user system or store login credentials.
What the Plugin Does
- Custom login path: Configure a login slug from Settings > Custom Login URL in the WordPress dashboard.
- Default login URL handling: When enabled, direct visits to
wp-login.phpand legacywp-register.phpreceive a 404 response. - Guest admin path handling: Optionally return 404 for unauthenticated requests to
/wp-admin/while keeping authenticated admin access available. - WordPress login links: Filter generated login URLs and redirects that reference
wp-login.php, including URLs with query parameters, to use your selected path. - Admin-safe exceptions: Do not block the standard
wp-admin/admin-ajax.phpandwp-admin/admin-post.phpendpoints. - Settings screen: Save your selected slug and the guest-admin blocking preference using the WordPress Settings API.
- No additional login database: Continue using WordPress’s normal authentication system without creating separate login accounts.
How It Works
For example, if you enter members-portal as the login slug, the plugin uses a login URL shaped like:
https://example.com/members-portal/
After you save the setting, copy and bookmark the new URL and test it in a separate browser or private window before logging out. The custom address is active only while the plugin is enabled and a non-empty slug is configured.
When no custom slug is saved, the plugin leaves the default login paths available. Slugs that conflict with selected reserved WordPress paths are rejected by the settings form.
What It Does Not Do
This plugin changes how the login entry point is accessed; it does not replace WordPress authentication, hide the login from every discovery method, stop brute-force attacks on other endpoints, provide rate limiting, add two-factor authentication, or operate as a firewall.
For better account protection, use strong passwords, appropriate login protections, and additional security measures where necessary. Hiding the default URL alone is not a security guarantee.
Compatibility and Precautions
- Some login-related, caching, security, SSO, or membership plugins expect the default login URL. Check compatibility on staging before enabling a custom slug on a live site.
- Test login, logout, password recovery, and administrative access after configuration.
- If you use a page cache or reverse proxy, make sure the custom login path is not cached as a public page.
- Keep a recovery method available through your hosting file manager, SFTP, or WP-CLI in case you forget the custom address or another plugin conflicts with it.
- Multisite and specialized authentication setups have not been validated as part of this package.
Installation
- Upload the
simpli-custom-login-url-obfuscatorfolder to/wp-content/plugins/, or install the ZIP from Plugins > Add New Plugin > Upload Plugin. - Activate Simpli Custom Login URL Obfuscator.
- Open Settings > Custom Login URL in the WordPress dashboard.
- Enter a custom slug, for example
members-portal. - Choose whether unauthenticated
/wp-admin/requests should receive a 404 response, then save. - Open your new login address in a private browser window and verify you can log in and out before ending your existing administrator session.
FAQ
-
Can I use the normal WordPress login form?
-
Yes. The plugin serves the existing WordPress login handler at the custom path rather than replacing the authentication system.
-
What if I haven’t set a custom slug yet?
-
The plugin does not block the default login URL until a non-empty custom slug is configured.
-
Can I choose any login slug?
-
The settings form converts your input into a URL-friendly slug and prevents use of several reserved WordPress paths. Avoid choosing an address that already belongs to a page, other plugin, or your site’s URL structure.
-
What happens when a visitor opens wp-login.php?
-
After the custom slug is enabled, direct access to the default login endpoint returns a 404. Login links generated by standard WordPress URL functions are filtered to use the custom path.
-
Can logged-in users still reach wp-admin?
-
Yes. Optional admin blocking applies to unauthenticated requests. WordPress AJAX and admin-post endpoints are also excluded from that block.
-
What if I forget the custom login path or get locked out?
-
Use hosting file access or WP-CLI to deactivate the plugin, for example by temporarily renaming its folder under
wp-content/plugins. This restores the normal WordPress login path. Then log in and configure a new slug. Keep a backup before enabling it on a production site. -
Does changing the login URL protect against all attacks?
-
No. It may reduce requests to well-known entry points, but it does not provide login rate limiting, two-factor authentication, or protection for other authentication endpoints.
-
Will this work with other login or security plugins?
-
Compatibility depends on how those plugins handle login URLs and redirects. Test them together on staging, especially if a plugin uses SSO, custom redirects, or login-related caching.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Simpli Custom Login URL Obfuscator” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simpli Custom Login URL Obfuscator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial directory release with a configurable login path, default login path handling, guest-admin blocking, and standard WordPress login URL rewriting.
