For editting your public profile URL; Click the Me icon at the top of your LinkedIn homepage and view your profile. Then you will see the Edit public profile & URL on the right side. Click it and edit your custom URL on the right side of the page.