Specify .htaccess to allow single IP address
If you want to lock down your WordPress admin side you can specify the ip address location your connecting from and edit your .htaccess file. You will need to put the .htaccess file into the wp-admin directory. Here is a example of how to configure your file:
Note: All literal periods in patterns should be escaped by preceding them with "\" except on separate lines.
Options +FollowSymLinks
RewriteEngine On
#
# Redirect all except developer ip addresses to alternate domain
# home ip address
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$
# work ip address
RewriteCond %{REMOTE_ADDR} !^5\.6\.7\.8$
RewriteRule .* http://www.google.com/ [R=302,L]
Related posts:
![[Return to HOME] web design solutions](/images/logo_body.jpg)
