Whenever you change the URL slug of a page or post, WordPress automatically creates a 301 redirect from the old permalink to the new permalink. The video below shows this feature.
WordPress Post Slug Change Automatic 301 Redirect

Whenever you change the URL slug of a page or post, WordPress automatically creates a 301 redirect from the old permalink to the new permalink. The video below shows this feature.