Restrict public access to WordPress website
With the Restricted Site Access plugin, you can restrict public access to WordPress and only allow access for registered visitors or certain IP addresses. Visitors without access can choose to see a certain page, message or login screen or are forwarded to another URL.