I am attempting to limit wp-admin access to a specific set of IPs. This works great on the live server, but when viewing locally I am getting a
403 forbidden error.
The site is developed using Vagrant and so I have set the following line in the
config.vm.network "private_network", ip: "18.104.22.168"
/wp-admin I have the following
order deny,allow deny from all allow from 22.214.171.124
I have attempted many variations and loading multiple IPs with no luck. Any suggestions on how I can gain access when viewing the site locally?
Read more here: How can I allow IP in htaccess from Vagrantfile