Skip to content
WordPress.org

English (Australia)

  • Themes
  • Plugins
  • News
  • About
  • Events
  • Get Involved
  • Glossary
  • Team (O2)
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Cope Login

  • Submit a plugin
  • My favourites
  • Log in
  • Submit a plugin
  • My favourites
  • Log in

Cope Login

By copewp
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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
  • 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.

Screenshots

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.
  5. (Optional) Go to the Login Page Customization tab to personalize your login page.

FAQ

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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Cope Login” is open source software. The following people have contributed to this plugin.

Contributors
  • copewp

Translate “Cope Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0

  • Added core login page customization:
    • 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.
  • New “Login Page Customization” tab in admin settings.
  • Dynamic CSS enqueued on login page based on saved settings.
  • Filters added for logo URL, hover title, and custom login messages.

1.0.0

  • Initial release

Meta

  • Version 1.1.0
  • Last updated 3 weeks ago
  • Active installations Fewer than 10
  • WordPress Version 5.0 or higher
  • Tested up to 6.9
  • PHP Version 7.2 or higher
  • Language
    English (US)
  • Tags
    admincustom loginloginwp loginwp-admin
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • copewp

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

English (Australia)

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry