简体   繁体   中英

Restrict & Redirect Visitors Based on IP in WordPress Site

I'm trying to build an intranet type site for a client using WordPress as the base. Instead of having users sign in, they just want to restrict users by IP address. They also want certain sets of IPs to be able to only access certain sections of the site.

So, I was wondering if there were any plugins or anything that addressed this type of setup already? I'm trying to not do this from scratch if I can help it.

Any input would be appreciated.

You can consider the free IP2Location Country Block WordPress Plugin.

https://wordpress.org/plugins/ip2location-country-blocker/

It can restrict visitors by IP address block (country).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM