In your test
folder, you can put a .htaccess
file, with the RewriteRule
to do that redirection :
RewriteEngine On
RewriteRule one.php two.php
With this, the page executed on the server would be two.php ; but the URL in the browser would still be one.php
Depending on whether you want this redirection to be seen from the user, you'll to set, or not, the redirection code, and use, or not, the [R]
flag.
For a permanent redirection, that would appear in the browser (i.e. the URL would really become two.php in the browser's address bar), you'd use :
RewriteEngine On
RewriteRule one.php two.php [R=301]
For more informations, you can take a look at the URL Rewriting Guide