I've made a drupal site using acquia Dev desktop 7.16.16 and i would like to know where the index.HTML or index.php file is stored? I found an index.php file at /Sites/acquia-drupal/ directory but it seems to need a root to work.
2 Answers
Drupal is a dynamic application, having an index.html file wouldn't make much sense.
There is an index.php file at the root of the install (the one you've already found). All requests are sent to that script, and the Drupal bootstrap takes over and routes them to the PHP function responsible for serving the appropriate content.
If you want to change the content on the front page, the simplest way would be to create a new node (of whatever type you feel is appropriate), visit /admin/config/system/site-information, and set the "Default front page" to the page of that new node.
-
OK thank you very much for your answer. That brings me to another question. Does the Drupal bootstrap generate any files, so that i can send the site's files to a friend?– user33612Commented Jun 30, 2014 at 5:16
-
If you mean "does Drupal create a static HTML version of the website somewhere?", then no...traditionally you would use something like backup and migrate to reproduce the site somewhere else. That said, take a look at Creating a static archive of a Drupal site, it might be just what you're looking for.– Clive ♦Commented Jun 30, 2014 at 11:17
Drupal has mainly one index.php file that is at the root of your installation. There can be many other files in the other directories.
But there is no use of editing this file because only includes the bootstrap files, rest of the things are handled dynamically.