https://github.com/ufukart/secure-wp-admin-login
Change the default WordPress login URL to something custom. Lightweight, simple, and free from bloat.
https://github.com/ufukart/secure-wp-admin-login
wordpress wordpress-plugin wp-admin wp-login
Last synced: about 1 month ago
JSON representation
Change the default WordPress login URL to something custom. Lightweight, simple, and free from bloat.
- Host: GitHub
- URL: https://github.com/ufukart/secure-wp-admin-login
- Owner: ufukart
- License: gpl-2.0
- Created: 2025-07-26T17:12:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-08T03:44:17.000Z (5 months ago)
- Last Synced: 2026-02-08T11:21:06.270Z (5 months ago)
- Topics: wordpress, wordpress-plugin, wp-admin, wp-login
- Language: PHP
- Homepage: https://wordpress.org/plugins/secure-wp-admin-login/
- Size: 31.3 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# π Secure WP Admin Login
Change the default WordPress login URL (`wp-login.php`) to something custom. Lightweight, simple, and free from bloat.
[](https://www.paypal.com/donate/?business=53EHQKQ3T87J8&no_recurring=0¤cy_code=USD)
---
## π§Ύ Plugin Info
- **Contributors:** [ufukart](https://github.com/ufukart)
- **Tags:** login url, wp admin, change wp login, security, custom login
- **Requires at least:** WordPress 5.0
- **Tested up to:** WordPress 6.8
- **Requires PHP:** 7.4
- **Stable tag:** 1.0.0
- **License:** GPL-2.0+
- **License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)
---
## π Features
- Change the login URL from `wp-login.php` to a custom path.
- Automatically redirect access attempts to the default login to 404 or home (your choice).
- Works with most themes and plugins.
- No performance hit β no JavaScript, no CSS, no extra HTTP requests.
- No .htaccess rewrite rules or database bloat.
---
## βοΈ How It Works
1. Go to `Settings β Permalinks`
2. Scroll down to **Secure WP Admin Login Settings**
3. Define your custom login slug (e.g., `/my-secret-login`)
4. Optionally define a redirect URL for unauthorized access attempts
> β οΈ **Important:** Bookmark your new login URL. If you forget it, you will need to disable the plugin manually via FTP.
---
## π₯ Installation
1. Upload the plugin files to `/wp-content/plugins/secure-wp-admin-login`
2. Activate the plugin from the **Plugins** menu in WordPress
3. Go to `Settings β Permalinks` to configure your custom login slug
---
## β FAQ
### What happens if I forget the custom login URL?
Disable the plugin via FTP by renaming or deleting the plugin folder.
Alternatively, you can reset the `secure_login_slug` option directly from the database (e.g., via phpMyAdmin).
### Does it work with TranslatePress?
Yes. But you **must** select **"NO"** for the "Use a subdirectory for the default language" setting.
### Is it compatible with Multisite?
Yes, but each site in the network must configure its own login slug under its own Permalink settings.
### Does it work with BuddyBoss or BuddyPress?
**No.** These plugins override wp-admin routing, which conflicts with this pluginβs behavior.
---
## π Changelog
### 1.0.0
- Forked from Change WP Admin Login v1.8 by Saad Iqbal
- Added nonce verification and input sanitization
- Implemented XSS and CSRF protection
- Improved PHP and WordPress compatibility
- Refactored code to follow PSR-4 and modern PHP standards
---
## π§βπ» Support
- Report issues or request features on [GitHub](https://github.com/ufukart/secure-wp-admin-login/issues)
- Ask questions on the [WordPress Support Forum](https://wordpress.org/support/plugin/secure-wp-admin-login/)
- Like the plugin? [Leave a review](https://wordpress.org/support/plugin/secure-wp-admin-login/reviews/)
---
## β€οΈ Donate
If you find this plugin useful, consider supporting its development:
π [Donate via PayPal](https://www.paypal.com/donate/?business=53EHQKQ3T87J8&no_recurring=0¤cy_code=USD)