How to re-map a URL to new URL with Variables

Hi

Can anyone advise how I can make it so that any attempts to connect to one URL automatically using the user ID so the following attemp to access a profile in the admin will redirect to the front end profile plugin I use

https://www.myurl.co.uk/wp-admin/user-edit.php?user_id=1

Redirects to

https://www.myurl.co.uk/profile/1/

Regards

Wayne