Pro: Linking to Custom Registration & Login Pages

Hi,

Using the shortcodes, I have made custom registration and login pages for my client’s site. Is there a way of making the front end use these pages now, instead of the default ones?

I can make links on the page for people to login and or register, but if they perform certain actions, they get redirected to the default pages rather than my custom ones.

Is it possible to do this on S2Member Pro?

Cheers!

@clavaque have you any ideas at all, or an alternative suggestion?

So far, I have just manually linked to the registration page.

Many thanks,

Jim

Hi Jim.

Hmm… I haven’t really looked at how to achieve that, but it should be possible. Maybe the simplest hack would be to add a JavaScript redirection in the default pages to your new custom ones. You could try adding it from here: WP admin > s2Member > General Options > Login/Registration Design > Footer Design

Just remember that the Lost/Reset Password tool doesn’t have a replacement and should still be possible to use it on wp-login.

I hope that helps. :slight_smile:

Thanks for the advice Cristián.

I will give it a shot.

1 Like

If I understand correctly, you need to go to s2Member / General / Login/Registration Design and under Login/Registration Page Customization (optional), select Yes… under Enable This Functionality?

This should make logging into your sight always go through s2Member. I have two ways for people to log in (paid POA Members and free “Bulletin Delivery”) and have a two custom logins - the POA Members is a customized s2Member Wordpress login (https://poa4us.org/wp-login.php) while the free uses a page (https://poa4us.org/membership/log-in-page/) using a short code.

Also, something which might be helpful is using the s2Member Widget and short codes to show login information (membership level, EOT date, street address, etc) in the sidebar and footer widget areas.

I took this site over a little less than an year ago to add s2Member and get their 17000 member records organized and imported - that was a task. I will be making changes to the site cosmetically in the near future.

Hope this helps.

1 Like

Hi Jim,

thanks for your reply, I appreciate it. I had changed those settings and deployed the shortcodes you mentioned, but Wordpress still uses its own default pages for login and registration by default.

The problem I have is just making Wordpress use my custom pages instead of the vanilla / native pages for registration and log in.

All the best and thanks again,

Jim

1 Like

Since you had Enabled the Yes for Login/Registration Page Customization, did you make any changes under the Yes/No popup? The default link wp-login.php I setup on this site: https://poa4us.org/wp-login.php

If you click on the Register link on that login page, it will take you to the s2Member Membership Options Page (which I have set to a page https://poa4us.org/membership/create-your-account/). There seems to be no way around this normally, but I did add the second account page for just subscribers (not paid).

Jim

1 Like