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: "126.96.36.199"
/wp-admin I have the following
order deny,allow deny from all allow from 188.8.131.52
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