Flow below steps to change linkedin Profile URL or custom URL

  1. Click the  Me icon at the top of your LinkedIn
  2. Click View profile
  3. Click Edit public profile & URL in the right rail.
  4. You will get redirected to the Public profile settings page.
  5. Under Edit your custom URL in the right rail, click the  Edit icon next to your public profile URL
  6. It'll be an address that looks like www.linkedin.com/in/yourname.
  7. Type the last part of your new custom URL in the text box.
  8. Click Save.