How To Safely Change Old Post URL On WordPress Without Killing Rankings

Add 301 redirection to your WordPress site
Find internal links from Google Search Console
Install List URLs WordPress Plugin