If I write a post who's link is 'example.com/abc.php' & this post is ranking in Search Engine.
After some days I update this post including its content & also its permalink to 'xyz.php'.
So now the post which had URL 'example.com/abc.php' before is updated to 'example.com/xyz.php'.
Then how Search Engines will get to know this is the same page/post which is already ranking with URL example.com/abc.php. And need to update link in search results to 'example.com/xyz.php' without affecting the ranking.
Is there any tag or something needed to write in code while creating a new post which uniquely identity page for Search Engines before & after updating permalink?
Note:-This website is developed by coding,not by using CMS. Languages used are HTML,CSS,JavaScript and PHP.