How to make my drupal site offline to public, while it is under construction?
Answer / 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 |
How do I view views in drupal 8?
What is a box in drupal?
Did you contributed the drupal site (any module)?
Which are the core required modules in drupal 6.x?
What is module in drupal? List out some of the contributed modules used in drupal?
What is drupal distribution?
What is difference between feature-update and feature-revert?
What is content construction kit (cck) in drupal?
What is the use of weight field while creating menu?
How do I access the drupal admin panel, when the login block is disabled?
What are some most commonly used php based cms?
How to fetch a new version of drupal?