How to make my drupal site offline to public, while it is under construction?
Answer Posted / Avanind Kumar Arya
To take your Drupal site offline during construction, follow these steps:n1. Rename or remove the robots.txt file in the root directory of your Drupal installation.n2. Create a new HTML file (e.g., maintenance.html) and place it in the root directory.n3. Configure the settings.php file to redirect all requests to the maintenance.html file by adding the following code: `$maintenance_routine[] = 'drupal_maintenance';n4. Save the settings.php file.n5. Clear Drupal's cache to apply the changes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers