Part of the guide: Hardening WordPress security with AdminEase
This setting lets you restrict wp-admin by IP address: only the addresses you list can open the login page and the WordPress dashboard. The front end of your site stays public. This is an AdminEase Pro feature.
What this feature does
Visitors from other addresses cannot reach /wp-admin or the login page, and accounts that can manage the site cannot log in from them either. Password protected post forms, privacy confirmation links and logging out still work for everyone.
How to restrict wp-admin by IP
- Open AdminEase › Security › General. Find Restrict Admin to IP Addresses.
- List the allowed addresses. One per line in Allowed IP Addresses. The field shows your current address: it must be on the list, or the setting will not save.
- Turn it on and save. Test from a phone on mobile data, which has a different address, to see the block.
Settings reference
| Setting | What it does | Default |
|---|---|---|
| Restrict Admin to IP Addresses | Only listed addresses can open the login page and wp-admin. | Off |
| Allowed IP Addresses | One per line. * matches any characters, and ranges such as 203.0.113.0/24 work. | Empty |
What happens behind the scenes
The visitor address comes from your server or proxy headers, so keep strong passwords and two-factor login as well. If your home or office address changes, you will be locked out of the dashboard: add define( 'ADMINEASE_DISABLE_ADMIN_IP_RESTRICT', true ); to wp-config.php to switch it off, then update the list.
Troubleshooting
The setting will not save
Your current IP address is not on the list. Add it, then save.
I travel or my address changes often
Use a range, or a VPN with a fixed address, rather than a single home address.

