Prevent others from accessing your WordPress wp-admin directory

//Prevent others from accessing your WordPress wp-admin directory

Prevent others from accessing your WordPress wp-admin directory

To prevent others with a nasty intent from accessing your WP-Admin page on your WordPress site use the following code on your wp-admin/.htaccess file using the static IP address from approved computers.

In the vase below I am only allowing access from my desktop and laptop

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "WP Access Control"
AuthType Basic
order allow, deny
deny from all
# George Ross MacPro
allow from xx.xx.xx.xx
# George Ross MacBookPro
allow from xx.xx.xx.xx

If you need to access your WordPress site from other computer simple add another 'allow from xx.xx.xx.xx' line.
The following two tabs change content below.
After a long career in sales, marketing and engineering design, within the manufacturing sector, George launched Web Strategic Marketing in 2009 to enable businesses to be able to effectively compete in the new world of Internet and Social Media Marketing. With the ability to develop marketing plans and marketing strategies, web site development (HTML and WordPress), search engine optimization, social media marketing, write copy and shoot product/commercial photography Web Strategic Marketing is your one-stop-shop for your Internet marketing needs.

Latest posts by George Ross (see all)

By |2014-01-20T09:08:34-05:00January 15th, 2014|Wordpress|0 Comments

Leave A Comment

Humans please complete * Time limit is exhausted. Please reload CAPTCHA.