Whoops I didn't check your link, rarely check links if its not related to my question.
btw, it's blocking bots using htaccess file, I thought I can do that on my hosting panel with some clicks.
If using this way, I would block directly wp-login.php by htaccess, it is more easier and convenient...