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 |
What is difference between soap and rest?
Explain hardcoding in drupal ?
What is a patch? How to apply patch?
What is use of template.php file?
What is wordpress drupal?
What is a sub theme in drupal?
What is an open source software?
Which modules are added in d7 core modules?
What are the design resources sub theme will inherit and will not inherit?
What is drupal panels?
Explain about drupal version release dates?
What is subtheme?