You can't perform operations such as adding a directory to a URL... imagine the pandemonium as we could access any web address anywhere in the world and make changes at will. You must use the file system of your web server to make file system changes.