=== Cope Login === Contributors: copewp Tags: login, admin, custom login, wp-login, wp-admin, security Requires at least: 5.0 Requires PHP: 7.2 Stable tag: 1.0 Tested up to: 6.9 Tags: login, custom-url, security, wp-admin, hide-login License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Change your WordPress login URL from `/wp-login.php` to something custom and secure. Block automated attacks by hiding the default login path. == Description == **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 == Installation == 1. Upload the plugin files to the `/wp-content/plugins/cope-login` directory, or install via the WordPress plugins screen. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Go to **Cope Login** in your admin menu. 4. Set your desired custom login URL and (optionally) a redirect URL. == Usage == 1. Go to **Cope Login** in your admin sidebar. 2. Enter your custom login URL slug (e.g., `my-login`). 3. (Optional) Set a redirect slug for users who visit `wp-login.php`. 4. Click **Save Changes**. 5. **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.php` can be redirected to a custom URL or homepage. == Frequently Asked Questions == = What happens if I forget my custom login URL? = You won’t be able to log in! Always bookmark your new login page. If lost, you may need to disable the plugin via FTP or your hosting file manager. = Do I need to update my site's Permalinks? = No. Cope Login works independently of WordPress Permalinks. = Will this plugin conflict with other security plugins? = Cope Login is lightweight and compatible with most plugins. Avoid using it with other plugins that also modify the login URL. == Changelog == = 1.0 = * Initial release * Custom login URL feature * Admin settings page * Redirect from wp-login.php * Slug validation (avoid conflicts with posts/pages) * Multisite support * AJAX check for slug availability == Upgrade Notice == = 1.0 = Initial release — customize your login URL and protect your login page. == Credits == Developed by [copewp](https://copewp.com) == License == This plugin is licensed under the [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html).