Often times, the WP-Members plugin may be used in a theme or other situation where there is already a log in link. A lot of these types of default log in links direct to the main WP login. But they often have the nice feature of redirecting back to the referring page. This example will show how to set up a WP-Members login page, create a link to this page, and include a redirect back to the referring page.
Continue Reading →login_url
Redirect requests to wp-login to a front end login page
Note: If you want an easy way to do this, the Advanced Options extension offers this as a setting. But if you need more control over the process than a simple “on/off” switch, the method described here is a flexible and customizable alternative.
The new version of WP-Members 2.7.6 adds a method of picking up the redirect_to parameter. This allows you to make redirecting from the wp-login more seamless, since the wp-login is designed to redirect the user back to where their login was requests (such as comments or a forum). Continue Reading →