Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By sintj on
Hello,
I want to ask, is a Drupal installation dependent on the Windows drive letter? I installed Drupal on C: and I wonder if I can move the installation folder to another partition, and still run Drupal.
Any ideas?
Regards,
sintj
Comments
Sure you can.
Sure you can.
Drupal only recognizes the Project Root (where you would have the vendor folder) and the Document Root (where you would have core and the scaffold files) and doesn't care if these lie in C: or D: or E: drive. Doesn't even care if you are using Windows OS or Linux OS.
- Nigerian web designers
Hello chike,
Hello chike,
I see. Thank you for the answer.
Regards,
sintj
No, not relevant which drive drupal is on.
The web server is configured to serve a site from a specific folder. Depending on your setup, it points to your project (drupal installation) or the web folder in that project folder. The parent of the web folder is expected to be your project folder. Only with tricks by the file system ( symbolic links or mounts ) they can be in different file systems (drives)
Moving the project is normally not a problem as long as you adjust DocumentRoot of your site definition (VirtualHost).
Hello mmjvb,
Hello mmjvb,
Thank you for the answer.
Regars,
sintj