Are you launching a product or just testing out something new, and just created a WordPress blog? If so, I’m sure you don’t like to make it public before the launch. Wondering how to do it? It’s pretty simple! You can limit users from accessing to your site by restricting IP addresses.
How to Restrict WordPress Site by IP or Logged in Users?
- First of all, install and activate the ‘Restricted Site Access’ plugin.
- Go to Settings > Reading.
- Scroll down until you find the option ‘Handle restricted visitors’.
Next, you can choose to ‘restrict site access to visitors who’re logged in or allowed by IP address’. If you choose this option, only the people you’ve allowed can access your site while you can redirect the rest using different options
- Send them to the WordPress login screen
- To specified address
- Display a simple message
- Redirect to another landing page.
- Save changes.
Note: Make sure to add your system IP address in the unrestricted IP address text box along with the users IP’s whom you want to allow or else you’ll not be able to access your own site.
This particular plugin is extremely useful in cases such as you’re testing your site before launching any product. In addition, you can create private blogs especially for your friends and family using this plugin.