简体   繁体   English

使用默认永久链接重命名wp-login.php

[英]Rename wp-login.php with default permalink

For better security, I would like to rename the login url of my blog to something other than /wp-login.php. 为了提高安全性,我想将博客的登录URL重命名为/wp-login.php之外的其他名称。 I found a plugin that would do the Job 我找到了一个可以完成任务的插件

http://wordpress.org/plugins/rename-wp-login/ http://wordpress.org/plugins/rename-wp-login/

But the problem is that it works only with non-default permalinks, which is a problem for me, because I use unicode names for my topics, which could make the link very long and messy with percent encoding. 但是问题在于,它仅适用于非默认的永久链接,这对我来说是个问题,因为我为主题使用了unicode名称,这会使链接变得很长,并且使用百分比编码会造成混乱。 I wouldn't want to translate every link name to english... that's tedious! 我不想将每个链接名称都翻译成英语...这很乏味!

Is there a way to hide wp-login.php and wp-admin from hackers without having to change the permalink form? 有没有一种方法可以从黑客隐藏wp-login.php和wp-admin,而无需更改永久链接形式?

Thank you. 谢谢。

You can now use Rename wp-login.php plugin with any kind of permalink structure! 您现在可以使用具有任何永久链接结构的Rename wp-login.php插件! ;) ;)

I can suggest one great plugin that have plenty useful things in it and also what you want. 我可以建议一个很棒的插件,里面有很多有用的东西,还有您想要的东西。 And it uses other technique, that is not dependent on permalinks (in two words - it uses htaccess for all the magic). 并且它使用了其他技术,该技术不依赖于永久链接(用两个词来说-它使用htaccess来处理所有魔术)。

It's called Better WP Security . 它被称为Better WP Security Here is the link 这是链接

Why don't you use a permalink structure like this? 为什么不使用这样的永久链接结构? /%post_id%/ /%post_id%/

From long time i was tackiling with one issue. 从很长一段时间以来,我一直在努力解决一个问题。 some one trying to access my website using random password. 有人试图使用随机密码访问我的网站。 i got report of ip addresss, who hits wp-login.php files. 我得到了IP地址的报告,这些人点击了wp-login.php文件。

beside that i found .sd0 file in my root folder. 除此之外,我在根文件夹中找到了.sd0文件。 that file filled with some encrypted code. 该文件填充了一些加密代码。

I removed this and change my wp-login.php to wp-login-xx.php After changed this file you required to change below file also to get proper execution. 我删除了此文件,并将我的wp-login.php更改为wp-login-xx.php。更改此文件后,还需要更改以下文件以正确执行。

  1. search for wp-login.php and replace this with your assign name (wp-login-xx.php) 搜索wp-login.php并将其替换为您的分配名称(wp-login-xx.php)

    wp-login.php wp-includes/general-template.php wp-includes/pluggable.php wp-login.php wp-includes / general-template.php wp-includes / pluggable.php

  2. for better security also update wordpress with latest one. 为了更好的安全性,请使用最新的wordpress更新wordpress。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM