Make an impact on your newly signed up members by sending them to a unique page the first time they log in to your membership site. This is a perfect opportunity to make an impact on your newly signed up members by sending them to a friendly “Welcome” page.

Banner image for Redirect New Members to a Specific Page the First Time they Log In

One of our members asked us to write up a code gist that will allow them to redirect all new members to a custom page after their first login. The code recipe below will only trigger the very first time a member logs in. All future logins will redirect members to either the referring page, the “Membership Account” page, or another custom login redirect you have configured.


Some considerations when setting up your welcome page:

  1. Keep it simple – this is the first actual page a member will see when logging into your site for the first time. Keep the page simple, easy to navigate and concise.
  2. Provide useful links – after you have welcomed your member, you might want to provide some links that will help them get around your site. Keep in mind that they will not be able to easily get back to this page, so avoid adding links that are only available on your welcome page.
  3. Add a video – if fitting, why not create a short and personal Welcome Video or perhaps take new members on a quick tour of your site. Video can be a great way to get a fair bit of information out to a person without leaving them feeling overwhelmed.
PRO TIP – Keep welcome videos between 1 to 2 minutes long. Your new member just signed up for your membership and are probably eager to get to your member-only content.

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Update lines 20 to 35 for your unique level IDs and page URL to redirect to. In this example, members with level ID 1 are redirected to the homepage, level ID 2 are redirected to a page at /page-slug-2/ and level ID 3 are redirected to a page at /page-slug-3/.


Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo