FAQKnowledgebaseWeb Development

How-to install Drupal in root instead of web directory?

To install drupal in root (/) directory instead of web (/web) directory, you must:

  1. Move contents from cms and web directory to root directory,
  2. Edit composer.json file section, replacing the web setting to ./ at the drupal-scaffold and installer-paths directives.

If you need more help, follow the instructions in our tutorial: Install Drupal CMS in Root Directory.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top button