WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Path Access

This plugin gives you the ability to call the 404.php template file or your own custom template file for specific paths where a user is not logged int

This plugin gives you the ability to call the 404.php template file or your own custom template file for specific paths where a user is not logged into WordPress and is not a specific role.

To use Path Access look under the "Settings" menu.

Your theme must have a 404.php file. However, if you want a more custom page you can create a file called access.php and users will be directed to that template instead, this template will set you HTTP Response to 403.

In the User Interface, to restrict access to a page or child pages you must:

  • Enter the path of that page
  • Separate multiple paths with a return
  • Include beginning and ending slashes "/"
  • Add * to the end of a path to restrict all child pages.

You must have a 404.php template file or you can create your own template file and name it access.php. Some paths are blocked such as /wp-admin and /wp-login.php for your safety. You can also specify which roles may access the restricted pages by checking the boxes of the role you want to enable access for.

Tags: , ,

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2012-5-16
Downloads: 530

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0
100,1,1