| 开发者 | ff |
|---|---|
| 更新时间 | 2009年12月31日 04:12 |
| PHP版本: | 2.9 及以上 |
| WordPress版本: | 2.9 |
force_login_except_ip_range.php and allowed_ip_ranges.php to the /wp-content/plugins/ directoryallowed_ip_ranges.php to add ip ranges to allow access without forcing the user to login.Edit allowed_ip_ranges.php and add a new line:
$allowed_ip_ranges[]="STARTIP, STOP_IP";
exmple:
$allowed_ip_ranges[]="192.168.100.0, 192.168.100.255";
Edit allowed_ip_ranges.php and add a new line:
$allowed_ip_ranges[]="IP_ADDRESS";
exmple:
$allowed_ip_ranges[]="192.168.100.44";