Support » Networking WordPress » Restrict access based on user's subnet

  • I’m currently building an intranet site for a customer. There a about 30 different departments involved. Each of them has its own IP address range. A few departments want to share a calendar and a few documents which the others are not allowed to access. The content itself (posts, pages, etc., including the theme) should be the same for all departments.

    I thought of setting up a WP multisite with two different sites which would be almost identical except for the calendar and documents. When it comes to accessing the site I thought of redirecting the users based on their origin network so no user knows about the different sites. The problem is that I need some advise on how to accomplish that. Apache’s rewrite module is an option but I don’t know much about it. May be there is an easier way which I don’t know yet. Any advise is welcome.

    Thanks in advance, Bastian

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Blocking various sites by IP range is certainly a good option. I’d go for that, or a members only plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict access based on user's subnet’ is closed to new replies.