Cope Login

Cope Login

By copewp
Details
View on WordPress

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

  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. Customize your login page under the Login Page Customization tab.
  5. Click Save Changes.
  6. 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.

Credits

Developed by copewp

License

This plugin is licensed under the GPLv2 or later.

Details

Plugin code:
cope-login
Plugin version:
1.1.1
Author:
Outdated:
No
WP version:
5.0 or higher
PHP version:
7.2 or higher
Test up to WP version:
6.9.1
Total installations:
0
Last updated:
2026-02-14
Rating:
Times rated:
0
admin
custom-login
login
wp-login
wp-admin