I want to give my users the option of using subdomains (e.g. www.username.site.com
), but for this I need to redirect albums/images links to that specific location (which is a personalized folder placed in the root directory). What is the most efficient way of doing it? Are there any specific php files I need to copy to this new folder (subdomain) in order to achieve the required functionality?