Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @krolyn,

    There is no option to redirect deleted users.
    If the user is deleted all information is also deleted from the database.

    Regards.

    Thread Starter Krolyn Studios

    (@krolyn)

    @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.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    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,

    Thread Starter Krolyn Studios

    (@krolyn)

    Thank you @champsupertramp

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect for deleted users’ is closed to new replies.