The best is follow the same file structure from your source. Otherwise you have to manually modify your configuration files. This is easy if there is just one configuration file which you need to modify.
The cause might be the directory structure of the new server where you have transferred your web files. It happened to my friend and he has to change all the broken links.