How you can redirect existing hyperlink to new url?

Sample : I've www.a.com/help.php

in the search enginesOrgoogle : when customer follow this link "www.a.com/help.php" on address bar instantly change be www.a.com/help.

Because inshtaccess I had been rewrite www.a.com/help which condiction is success.

The issue is how you can change instantly on address bar www.a.com/help.php --> www.a.com/help

Using .htaccess or any other methods?

Thanks.

You could utilize

<?php
header("Location: http://www.a.com/help");

Which should alter the addressbar.

With .htaccess you could attempt

redirect 301 /help.php /help

Here read more about htaccess redirect