• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
WPFeed

WPFeed

  • News
  • Tutorials
    • WordPress Multisite
    • BuddyPress
    • Design
  • Reviews
    • Plugins
  • Roundups
  • Snippets
  • Giveaways
Home » How To » How to Restrict Site Access Based on IP Address

How to Restrict Site Access Based on IP Address

We just discovered a cool plugin called Restricted Site Access.

As the name suggests, the plugin helps you to restrict site access to certain IP. According to the author, this plugin will be a great solution for Extranets, publicly hosted Intranets, or parallel development / staging sites.

The settings page for this plugin isn’t so obvious. Once activated, you’ll see new additional settings from the Reading settings page. It can be accessed from Settings > Reading.

restrict-site-access

At the very bottom of the settings page, you’ll see an input field to whitelist any single IP address of range of IP address. Furthermore, for restricted visitors (those not in the whitelist IP), you can choose whether to send them to login page, redirect to specific site, show a simple message or redirect them to a specific WordPress page.

Futhermore, if you’d like to unrestrict specific parts of the site, there’s restricted_site_access_is_restricted filter to override the default setting. Please see the FAQ page for more information.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Partnerships

For WP Deals and Discounts, visit WPCouponCode.com

Recent Posts

  • WordPress is a brilliant platform that is loaded with tons of stuff for websites.
  • How to Sync Stock & Price for WooCommerce Products
  • How to migrate a WooCommerce Store to a new site
  • How to Import WooCommerce Products
  • How to export WooCommerce Orders

Copyright © 2021 · WPFeed.com - A Project of TechAbout LLC.

  • About us
  • Advertise
  • Write for us
  • Terms and Conditions
  • Privacy Policy
  • Contact us