404 after visitor registration

I use LoginPress Pro to change the login form from: /wp-admin to: /bonuslogin

after someone registers with my wp site that uses S2Member Pro, with a few custom fields,
it is taking them to /wp-admin

how do I change that behavior? since that page no longer works?

Is there a way to have it log them in already, and take them to a custom page of my choosing?


Hi Richard.

That’s odd. s2Member would not take them to /wp-admin…

Maybe this setting helps: WP Admin > s2Member > General Options > Member Profile Modifications

When you say have them log in, do you mean an auto-login after registration? You can try this hack: https://s2member.com/kb-article/auto-login-on-registration/

I hope that helps! :slight_smile:

I had that happen and know exactly what you mean. Here’s what I did:
Create file named: modification-ty-page.php (helps redirect Paypal to proper member’s Dashboard after payment and not the WP dashboard)

<?php add_filter('ws_plugin__s2member_redirection_url_after_modification', function(){ return 'https://websitename/directoryname/S2dashboardname/'; });