I think you want to use the redirectBrowserToURL() function.
For example, you can redirect someone to a custom login page if they aren't logged in like this:
if (!$CURRENT_USER) { redirectBrowserToURL("/customLoginUrl.php"); }
To make your form redirect to a custom page after it's completed, you'll need to find where the code completes the action. For example, in Website Membership's sample user-profile.php:
### Update User Profile
if (@$_POST['save']) {
...
$errorsAndAlerts = "Thanks, we've updated your profile!<br/>\n";
}
You can change that to:
### Update User Profile
if (@$_POST['save']) {
...
redirectBrowserToURL("/thanksForUpdatingYourProfile.php");
}
Does that answer your question?
All the best,
Chris