My website is getting somewhat popular, and with the it's increasing popularity there's an increase in the hackers.
Last night I visited my security logs and found that everyday approximately 10 people try to access
/?author=1 /?author=2 /?author=3 /?author=4
but I don't have any of these user IDs, so a 404 is generated to them. they also run a guessing bots on usernames:
admin administrator wordpress
Now, I want to troll them... so each time they try to access any of these two:
1. visiting /?author=1..etc 2. trying to login with admin username
I want their IP blocked off my site, and redirected to a youtube video.
I know the first one can be done with .htaccess trick, but can't quietly get this trick. the second one I guess is done by php, but I have no experience with Wordpress although I'm pretty good with PHP.