Title: Cope Login
Author: copewp
Published: <strong>2026 年 1 月 9 日</strong>
Last modified: 2026 年 3 月 19 日

---

搜索插件

![](https://ps.w.org/cope-login/assets/banner-772x250.png?rev=3436524)

![](https://ps.w.org/cope-login/assets/icon-256x256.png?rev=3436524)

# Cope Login

 作者：[copewp](https://profiles.wordpress.org/copewp/)

[下载](https://downloads.wordpress.org/plugin/cope-login.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/cope-login/#description)
 * [评价](https://cn.wordpress.org/plugins/cope-login/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/cope-login/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/cope-login/#developers)

 [支持](https://wordpress.org/support/plugin/cope-login/)

## 描述

**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](https://copewp.com)

### License

This plugin is licensed under the [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html).

## 屏幕截图

 * [[

## 安装

 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.

## 常见问题

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

## 评价

此插件暂无评价。

## 贡献者及开发者

「Cope Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ copewp ](https://profiles.wordpress.org/copewp/)

[帮助将「Cope Login」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cope-login)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/cope-login/)，查看[SVN仓库](https://plugins.svn.wordpress.org/cope-login/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/cope-login/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/cope-login/)。

## 更新日志

#### 1.2.0

 * **Premium UI Overhaul**: Complete redesign of the admin settings with a modern,
   card-based interface.
 * **AJAX Saving**: Settings now save instantly without page reloads for a smoother
   workflow.
 * **Redesigned Status Badge**: New technical view for the Active Login URL with
   one-click copy feedback.
 * **Improved Scoping**: Optimized asset loading to ensure plugin files only load
   on the settings page.
 * **Bug Fix**: Resolved an issue where redirect slugs would occasionally save as“
   1”.
 * **Better UX**: Switched to a more readable vertical-form layout for all configuration
   options.

#### 1.1.1

 * **Fix**: Resolved “Undefined array key” PHP warnings by ensuring all default 
   settings are properly initialized.
 * **Fix**: Corrected logic to ensure default styling (fonts, colors, shadows) is
   applied even when no custom settings are saved.
 * **Enhancement**: Refined login button styling to match standard WordPress dimensions(
   34px height) while maintaining a modern, professional look.
 * **Enhancement**: Improved layout spacing by adding a 16px vertical gap between
   the password field and the “Remember Me” section.
 * **Enhancement**: Added micro-animations (smooth transition, subtle lift on hover)
   to the login button for a better user experience.
 * **Tweak**: Updated default button border-radius to 3px and font size to 13px 
   for consistency with WordPress core.

#### 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

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cope-login/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[custom login](https://cn.wordpress.org/plugins/tags/custom-login/)
   [login](https://cn.wordpress.org/plugins/tags/login/)[wp login](https://cn.wordpress.org/plugins/tags/wp-login/)
   [wp-admin](https://cn.wordpress.org/plugins/tags/wp-admin/)
 *  [高级视图](https://cn.wordpress.org/plugins/cope-login/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/cope-login/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/cope-login/reviews/)

## 贡献者

 *   [ copewp ](https://profiles.wordpress.org/copewp/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/cope-login/)