Site Access Restriction (SAR) - How To - Restrict By URLs, URL Path
Access Restriction by URL Filtering
Plugin also support restriction access to specific URL's on your site. This is very useful when you want to prevent access to specific section of plugins which use get params or you want to define only specific pages or post.
For example, you can restrict access to the URL which looks like this:
While the generic URL http://yoursite.com/categories will not have any restriction.
To add URL filtering:
- Find the plugin on the Admin Dashboard, and click to access the drop down menu. Then click URL filters.
- You can Add a new Filter. Each URL can have the general restriction.
Access restricted to logged-in user - Only logged-in users will be restricted. All users which are logged in can access content.
Access restricted by role - Access is restricted to specific WP roles. This apply only to logged-in users.
It is possible to add multiple filters and to delete an existing filter.
When you are finished, click Save Filters to save changes.