WordPress Membership

Easy to use WordPress Membership plugin

  • Documentation
  • WP eMember Plugin
  • Projects
  • Home

Auto Redirect on Protected Pages Addon

This addon allows you to automatically redirect visitors to the membership login page when they are not logged into the site and they land on your protected post or page.

Normally when visitors (not logged into the site) land on a protected page, the plugin greets them with the following “content is protected” message:

default-message-on-a-protected-page

When you keep this addon active on your site, it will automatically redirect the visitors to the membership login page instead of showing them the “content is protected” message.

Installing the Auto Redirect AddOn

  • Upload the “emember-auto-redirect-on-protected-page.zip” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.

Using The Auto Redirect Addon

You just have to keep the auto redirect addon active and it will automatically do the redirection.

Specifying a Custom Redirection Page

The visitors are redirected to the login page by default when they try to access a protected page. You can redirect them to a custom page also (instead of the login page).

Click to the “Auto Redirect” menu link (from the main eMember admin menu). Then specify the custom redirection URL and save the settings.

Download the Addon

You can download this adddon from the addon download area.

Filed Under: eMember Addon Tagged With: emember addon, member login redirection, membership protection

WP eMember Extra Login Shortcodes Addon

The extra login shortcodes addon has a collection of pre-designed login widget creation shortcodes. You can use this addon to create nice looking member login form on your site.

The following screenshot shows the design of the login forms that you can create with this addon:

extra-membership-login-shortcodes-screenshot

extra-membership-login-shortcodes-screenshot-2

Installing the Extra Login Forms AddOn

  • Upload the “emember-extra-login-shortcodes” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.

Extra Login Form Addon Usage

Use one of the following shortcodes on your member login page or sidebar widget to place the login form.

[wp_eMember_fancy_login style="1"]

[wp_eMember_fancy_login style="2"]

[wp_eMember_fancy_login style="3"]

[wp_eMember_fancy_login style="4"]

[wp_eMember_fancy_login style="5"]

[wp_eMember_fancy_login style="6"]

[wp_eMember_fancy_login style="7"]

[wp_eMember_fancy_login style="8"]

Showing Extra Details in the Login Widget

Use the “display_account_details” parameter in the shortcode to show extra user profile details that will get shown to the logged in member.

Below is an example shortcode:

[wp_eMember_fancy_login style="1" display_account_details="1"]

Download The Extra Login Shortcodes Addon

Click here to download this adddon and try it on your site.

Filed Under: eMember Addon Tagged With: Compact Login, emember addon, member login redirection, WordPress membership

Automatically Redirect Your Members to a Page After They Login

WP eMember has an “After Login Redirection” feature that you can use to automatically send the members to a specific page (example, members only area) when they log into the site.

How to Enable the After Login Redirection Feature

  • Go to the WP eMember Settings menu
  • Check the “Enable After login Redirection” checkbox
  • Save the settings by clicking the update button at the bottom of this page

How to Configure Which Page to Redirect to

There are 3 options to choose from:

  1. You can redirect all of your members to a specific page upon login. Simply specify the URL of the page in the "eMember settings -> Pages/Forms Settings -> After Login Page" field.
  2. You can redirect members to a specific page based on their membership levels. Specify the URL of the redirect page in the "Membership Level -> Redirect After Login" field to configure a per membership level specific redirection page.
  3. You can also redirect on a per user basis (redirect a specific member to a specific page). Specify the URL of the redirect page in the "Members -> Edit a member's record -> After Login Page URL" field to configure a per user specific redirection page.

Can I Use a Mixture of These Available Redirections?

Yes, you can mix them up. This is how eMember will determine the after login redirection of a user when he/she logs into the site:

  • First, it will check if there is a user specific redirection available for the member. If it finds one then it will redirect the member to that page.
  • If a user specific redirection is not present, the plugin will check if a membership level specific redirection is configured. If it finds one then it will redirect the member to that membership level redirection page.
  • If the plugin can’t find any of the above, it will redirect the user to the global/general redirection page specified under the “Pages/Forms Settings” area.

Do Not Trigger After Login Redirection when Logging in via Inline Login Widget

This option can be used to keep the user on the current page when they are logging in via the inline login widget. The inline login widget is shown when a member clicks on the login link inside a protected post/page.

You can enable the following option in eMember plugin settings:

Prevent After Login Redirection When Logging in via Inline Login Option

When this option is enabled, the after login redirection won’t get triggered when the login action happens via the inline login widget. If the member goes to the standard login page and logs in then the redirection will work as configured in your site.

Create a Custom Link to the Login Page to Redirect to a URL

The after login redirection will honor the redirect_to query parameter in the URL. If you specify a URL value via the redirect_to parameter then it will send the user to that URL after the loging (ignoring any after login redirection that you may have configured in the settings).

Below is an example of how you can use the redirect_to parameter to create a link to the login page.

https://www.mysite.com/member-login/?redirect_to=https://www.mysite.com/special-redirect-page

If a user clicks on this link and logs into the site from the login page, he will get redirect to that specified URL.

Create a Custom Link to Override the Login Redirection

You can specify the no-redirect parameter in the login page’s URL to prevent the after login redirection.

Below is an example of how you can use the no-redirect parameter to create a link to the login page.

https://www.mysite.com/member-login/?no-redirect=1

When a member clicks on the following link and logs into the site, there will be no after login redirection for him (even if you have enabled the redirection feature).

Filed Under: Design & Usage Tagged With: after login redirection, member login redirection, Usage Guide, WP eMember

Get the WP eMember Plugin

Get WP eMember

Categories

  • Additional Resources
  • Content Protection
  • Design & Usage
  • eMember Addon
  • Installation
  • Integration
  • License
  • Testing
  • Uncategorized
  • Video Tutorial

Recent Comments

  • Chris Brown on API – Querying A Member Profile Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Chris Brown on API – Updating A Member Account Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Andrea on API – Updating A Member Account Using HTTP GET or POST

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | WP Membership Plugin