隐藏wordpress后台位置

//隐藏后台位置
if($_GET[“password”]!=”520″){
header(‘Location: https://www.xudadi.com/404’);
}

以上代码添加在wp-login.php即可