• 关于WordPress
    • 关于WordPress
    • WordPress.org
    • 文档
    • 支持
    • 反馈
  • 登录
  • 注册
跳至内容

WordPress.org

China 简体中文

  • 新闻
  • 主题
  • 插件
  • 论坛
  • 文档
  • 关于
  • 获取WordPress
  • 切换语言/语言包

插件

  • 我的收藏
  • Beta测试
  • 开发者

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

下载

Rename wp-login.php

作者Ella van Durpe
  • 详情
  • 评价
  • 安装
  • 技术支持
  • 开发进展

描述

I don’t offer support through the support forum. Use GitHub instead.

Rename wp-login.php is a very light plugin that lets you easily and safely change wp-login.php to anything you want. It doesn’t literally rename or change files in core, nor does it add rewrite rules. It simply intercepts page requests and works on any WordPress website. The wp-admin directory and wp-login.php page become inaccessible, so you should bookmark or remember the url. Deactivating this plugin brings your site back exactly to the state it was before.

Compatibility

All login related things such as the registration form, lost password form, login widget and expired sessions just keep working.

It’s also compatible with any plugin that hooks in the login form, including

  • BuddyPress,
  • bbPress,
  • Limit Login Attempts,
  • and User Switching.

Obviously it doesn’t work with plugins that hardcoded wp-login.php.

Works with multisite, but not tested with subdomains. Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.

If you’re using a page caching plugin you should add the slug of the new login url to the list of pages not to cache.

If you wish, you can block wp-login.php with .htaccess from now on.

安装

  1. Go to Plugins › Add New.
  2. Search for Rename wp-login.php.
  3. Look for this plugin, download and activate it.
  4. The page will redirect you to the settings. Rename wp-login.php there.
  5. You can change this option any time you want, just go back to Settings › Permalinks › Rename wp-login.php.

常见问题

I forgot my login url!

Either go to your MySQL database and look for the value of rwl_page in the options table, or remove the rename-wp-login folder from your plugins folder, log in through wp-login.php and reinstall the plugin.

On a multisite install the rwl_page option will be in the sitemeta table, if there is no such option in the options table.

评价

Excellent!

TAKURO 2020年7月22日
It is easy to install and set up, and it is useful.

Great and FAST

Mentik Yusmantara 2020年5月23日
Work 100%, Easy to use and very very very fast

WordPress should have this as part of its core

mrkenobi 2019年8月21日
Great plugin. The best in what it does.

Prevents brute force attacks

ryanburnett 2019年7月3日
Prevents brute force attacks. Thank you!

Does the work

dieguraa 2019年3月21日
Very light plugin which does the job and which doesn't need to be updated very often as it is a simple functionality

Still perfect.

Stonehenge Creations 2019年1月11日
I have been using this plugin for over 5 years now. Even though it has not been updated in over 3 years, it still works like a charm. Using it on a MultiSite installation with subdomains and domain mapping. Never had any problems, warnings or errors whatsoever. 😀
阅读所有的152评价

贡献者及开发者

“Rename wp-login.php” 是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Maxime Jobin
  • Ella van Durpe

“Rename wp-login.php”插件已被翻译至19种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Rename wp-login.php”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

2.5.5

  • Add missing load_plugin_textdomain.

2.5.4

  • Added i18n support.

2.5

  • Use wp-login.php instead of copying the file.
  • Don’t add notices for W3 Total Cache and WP Super Cache.

2.4

  • WordPress 4.0 compatible.

2.3

  • WordPress 3.9 compatible.
  • Fix issue where the slug reverts to default when saving the permalink structure.

2.2.4

  • Fixed SSL issues.
  • Set REQUEST_URI back.
  • Check if wp-login.php functions exist to avoid future fatal errors.

2.2.3

  • Fixed URL filters.

2.2

  • Fixed issue where requests redirect to the new login page.
  • Trailing slash based on the permalink structure.

2.1

  • Works now with non-pretty permalinks!
  • Gives a message when using W3 Total Cache or WP Super Cache to update options.

2.0.1

  • Prevents pretty redirects such as /login and /admin.
  • Simplifies some code.
  • Forces login page with trailing slash.
  • Replaces a wp_redirect with wp_safe_redirect.
  • Shows error message in the network admin if permalinks are not enabled for the main site.

2.0

  • This plugin can now be activated for a network and a networkwide default can be set.
  • The plugin now hooks in after init to make sure any customisations to the login form are hooked in before it.
  • Links should now be fixed when SSL is enabled.

1.9

  • wp-admin will now have a wp_die() message instead of a 404 template because this caused problems.
  • Minimum version is now 3.8.
  • Added updates from wp-login.php in 3.8.

1.8

  • OOP PHP.
  • Requires WordPress 3.7 or higher.
  • MultiViews compatible.

1.7

  • Made compatible with WordPress 3.7.

1.6

  • Fixed the login link when site_url() ≠ home_url().
  • Added a mirror on GitHub.

1.5

  • Made User Switching compatible.

1.4

  • Faster page load.
  • Fixed 404 error for permalink structures with a prefixed path. “Almost pretty” permalinks work now too.
  • Code clean-up.

1.3

  • Prevents the plugin from working when there is no permalink structure.

1.2

  • Fixed status code custom login page.

1.1

  • Blocked access to wp-admin to prevent a redirect the the new login page.

1.0

  • Initial version.

元信息

  • 版本:2.6.0
  • 最后更新:2年前
  • 有效安装数量:100,000+
  • WordPress版本: 5.2或更高
  • 最高兼容版本:5.2.9
  • 语言:

    Albanian、Arabic、Chinese (China)、Chinese (Taiwan)、Czech、Dutch、English (UK)、English (US)、French (Canada)、French (France)、Galician、German、Greek、Italian、Japanese、Polish、Portuguese (Portugal)、Russian、Spanish (Spain)和Spanish (Venezuela).

    翻译成您的语言

  • 标签:
    custom login urlloginrenamewp loginwp-login.php
  • 高级视图

评级

查看所有评价
  • 5星 138
  • 4星 3
  • 3星 2
  • 2星 3
  • 1星 6
登录以提交评价。

贡献者

  • Maxime Jobin
  • Ella van Durpe

技术支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

  • 关于WordPress
  • 博客
  • 主机
  • 捐助
  • 支持
  • 开发者
  • 参与
  • 学习
  • 陈列柜
  • 插件
  • 主题
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt Mullenweg
  • 隐私
  • Public Code
  • @WordPress
  • WordPress

代码如诗