Cope Login
·
Change your WordPress login URL from /wp-login.php to something custom and secure. Block automated attacks by hiding the default login path.
Cope Login allows you to change your WordPress login URL from the default wp-login.php or /wp-admin to anything you like. This helps protect your site from brute-force attacks and automated login attempts by making your login page harder to find.
Features
- Change your login URL to anything you want (e.g.,
https://yourdomain.com/my-login) - Prevent use of slugs that already exist as posts, pages, or CPTs
- Only administrators (or super admins on multisite) can change the login URL
- Optional redirect if someone tries to access
wp-login.php - Easy-to-use settings page in the WordPress admin
- No edits to Permalinks or WordPress core files required
- New in v1.1: Customize the login page:
- Upload a custom logo with optional homepage link
- Set background color or upload a background image
- Customize login form fields and button styles
- Add a custom tagline above the form and footer text
Usage
- Go to Cope Login in your admin sidebar.
- Enter your custom login URL slug (e.g.,
my-login). - (Optional) Set a redirect slug for users who visit
wp-login.php. - Customize your login page under the Login Page Customization tab.
- Click Save Changes.
- Important: Bookmark your new login URL. If you lose it, you may not be able to log in.
Example:
If your site is at https://www.example.com and you set your login URL to my-login, your new login page will be:
https://www.example.com/my-login/
Multisite Support
- Only network super admins can change the login URL.
- Each site in the network can have its own custom login slug if activated per-site.
Security
- Only admins or super admins can change the login settings.
- Slug validation prevents conflicts with existing post/page slugs.
- Requests to
wp-login.phpcan be redirected to a custom URL or homepage.
Credits
Developed by copewp
License
This plugin is licensed under the GPLv2 or later.
