Change WordPress wp-login URL without plugin

Before we make changing on WordPress site, it is a good way to make a backup of those files that we’re going to change.

 

1. Make copy of wp-login.php(WP Root folder) and general-template.php(Under wp-includes folder). Put them to somewhere else, just in case one day if you change your mind.

2. Rename wp-login.php to anything that you want. For instance, I rename it as hackme.php. (Just for example :D)

3. Open the php file that we just renamed, search keyword “wp-login.php” and use new name that you just made to instead them all. Example: I open hackme.php and use “hackme.php” to instead keyword “wp-login.php“.

4. Open general-template.php(wp-includes/), search for

Do not make change of this line! But replace everything else from “wp-login.php” to the name you just made.

5. Use new address to login. Mine would be: http://www.catmee.com/hackme.php

 

When you see a new wp-login.php has been generated since WP update, delete it! When you got issue with logout and cannot be redirect to logout page, then you need re-do step 4!

 

</catmee> 文章全部原创、谢绝转载,作者「BianLei」,如果喜欢欢迎分享链接,相关内容参见本站版权声明
如果您觉得本站的存在对您多少有所帮助,可以用手机支付宝扫一扫以下二维码支付任意金额作为支持:支付宝
本站相关:QQ空间 | Facebook
Tagged . Bookmark the permalink.

Create code highlighter without plugin by use “google-code-prettify” in WordPress
Create code highlighter without plugin by use “google-code-prettify” in WordPress

How to Cloak Affiliate Links in WordPress without Plugin
How to Cloak Affiliate Links in WordPress without Plugin

2 Ways to notify WordPress comments author upon their replies without plugins
2 Ways to notify WordPress comments author upon their replies without plugins

『会当凌绝顶 一览众山小』马来西亚武来岸茅草山(Broga Hill)
『会当凌绝顶 一览众山小』马来西亚武来岸茅草山(Broga Hill)

区别对待?在国外注册的微信有些不一样
区别对待?在国外注册的微信有些不一样

Comment Anonymously? No Problem! | 可以匿名评论了我会说?

Fill up Email address to subscribe reply and display your avatar from Gravatar (If any)
填写邮箱即可显示您在Gravatar的头像