this is a question about drupal installation on server.
I usually upload my drupal into a subfolder "drupal" and I ask my customers to check the website in such subfolders until when it is ready. The开发者_高级运维n I asl to change the default folder in Apache to the "drupal" one.
Sometimes my customer cannot change Apache configuration, so I was wondering if I can use a php script to forward users from root folder to the drupal one, or I should move the website to the root folder (which I would prefer to avoid, because is time consuming).
thanks
See Taking your site live
Can't you do the redirection in cpanel, or in .htaccess
?
In that way you won't touch your drupal code.
精彩评论