Travel

Categories

Restrict the wordpress login page by IP

Today I just wonder could I restrict the wordpress login page by IP since my wordpress system have only one user and there’s probably no need to allow the world to login my wordpress. Moreover, I also don’t want the hackers to have a chance to attack my admin a/c

After a simple search, the solution is just to add a .htaccess in the wp-admin directory and would be enough to do the job.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>