On many WordPress Membership websites, it is essential to re-direct the user to a specific page for their membership level. For example you have three different levels set up. Lets call them Gold, Silver, Bronze and you have a few users in each level. For this post I will focus on the Membership plugin “Paid Memberships Pro”. The plugin is free but many of its customization options and features are paid. I am not complaining and I have no problem whatsoever with this model. They have to pay for their bills as well and they are giving you a huge chunk of code for free. Its an awesome plugin to implement membership websites in WordPress and I love it. In this post I will focus on How to redirect users using Paid Memberships pro and TML plugin.

There are two very common Issues that you will come across when you implement a membership site using Paid Memberships Pro. The first issue has to do with very WordPress looking “Dashboard”, “Profile” and “Log in” Screens. This means that all members will basically be using the wordpress dashboard to login and access the dashboard which will look like a WordPress Dashboard. There is a simple solution to this problem. I have used a plugin called “Theme My login” which makes your login and dashboard integerate with the rest of your website simply by activating it! Problem Solved.

Now the second problem is redirecting a user on successful log on.

For this you can use the “Redirection Module” that comes with “Theme My Login”. The module lets you redirect users on a specific URL when they sign on. This redirection is available on a “WordPress roles” basis. The default roles in WordPress are the following:

  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber

The default role for new sign ups can be configured in WordPress Dashboard. So how the redirection works in “Theme my login” is you can redirect a user with a Subscriber role to a specific URL after logging in. But in some cases that is not enough. Remember the first paragraph and we have 3 Membership levels (Gold, Silver and Bronze). Lets say we have a “Program Portal” page for these levels and we want Gold members to go to a different page, silver members to go to a different page and Bronze members to go to a different page.

The best way to do something like this is to get the Add On. You can read more about it here.

The workaround is to create “3” new custom WordPress roles for (Gold Silver and Bronze). How to create roles now. Well that is easy. There are a lot of ways to do that but the most simple one that I have found is “WordPress Role Editor” Plugin. This lets you visually create WordPress roles and the best part is you can base these roles on an existing role. So once you create the roles, simply edit the users to belong to this role and in the redirection module of “Theme My login” you can specify the different portal pages for different membership levels.

This solution is very specific and there are other WordPress membership plugins that will let you do this without jumping any hoops. I believe S2 Member used to do something like that out of the box, but it has been a while since I worked with it and things might have changed some.