Hi @krolyn,
There is no option to redirect deleted users.
If the user is deleted all information is also deleted from the database.
Regards.
@ultimatemembersupport Perhaps a redirect feature could be introduced in the future. I have a couple of former users ask why their profiles redirect to the main page after being deleted (and still appear on Google). In their minds, they might be thinking that their yet-to-expire listings on Google are being used to promote my site.
If a redirect feature was in place, I could set up a page saying ‘this user no longer exists on this platform’ or similar.
Hi @krolyn
You can use this filter hook to change the redirect URL:
um_locate_user_profile_not_loggedin__redirect
Sample usage:
add_filter("um_locate_user_profile_not_loggedin__redirect",""um_custom_deleted_profile_redirect", 99 );
function um_custom_deleted_profile_redirect( $url ){
$url = '/my-404-page/';
return $url;
}
Regards,