Restrict IP access to your admin section

Editting your .htaccess

  • You should find a .htaccess file in your root folder (or catalog depending on where you installed your store)
  • Edit this file using Notepad or similar
  • Add the following to the top of this file

order deny,allow
deny from all
allow from 888.888.888.888

If you want to allow access from multiple IP address or domain names then add

allow from 999.999.999.999
allow from 000.000.000.000


Obviously you need to replace the above with your IP addresses.

To specify a domain name use

allow from .yourdomainname.com

  • Bookmark at
  • Bookmark "Restrict IP access to your admin section" at Reddit
  • Bookmark "Restrict IP access to your admin section" at Google
  • Bookmark "Restrict IP access to your admin section" at Facebook
  • Bookmark "Restrict IP access to your admin section" at Twitter
  • Bookmark "Restrict IP access to your admin section" at Slashdot
v2.5/restrict_ip_access.txt ยท Last modified: 2010/07/28 11:39 by pgmarshall
You are here: startv2.5restrict_ip_access