Add-on plugin for the ‘Members’ plugin written by Justin Tadlock. This add-on displays the standard WordPress logon page if user who has not already logged on attempts to access a protected page or post. This allows the Members plugin to check the users roles against the required roles for the post/page. User is redirected to page/post after logon and will either see the page/post or the error message defined in the Members plugin (if they don’t have a required role).
Requires Members plugin to be activated.
- Upload the plugin to your WordPress installation
- Activate the plugin through the “Plugins” menu in WordPress.
- I get an error ‘You don’t have permission to access /wp-login.php on this server’
The WordPress logon redirect function adds the URL of the page after the logon screen as a query string parameter. Some hosts or plugins may reject the request if the query string parameter looks suspicious, e.g. it contains ‘localhost’ or ‘127.0.0.1’ etc. Check you .htaccess files if using Apache
“Force Members Logon” 是开源软件。 以下人员对此插件做出了贡献。贡献者