Lets say i have a file called sub.php in my root folder. <a href="http://website.com/sub.php">http://website.com/sub.php</a> What i wish to achieve is that when i write <a href="http://sub.website.com">http://sub.website.com</a> it would be same as showing the webpage <a href="http://website.com/sub.php,">http://website.com/sub.php,</a> and after the webpage has loaded i wish that the address bar still shows <a href="http://sub.website.com">http://sub.website.com</a> and does not change to anything else for example something like this : http://website