I have used option A to install Drupal 8 on server:



But the site is listed in public_html/drupal-project/web while the root folder for the site is public_html ...

What to do?

See screenshot below:

enter image description here

  • That's right, anything managed by composer is placed outside of the main drupal folder as those should be managed with composer going forward. If you dont like the way it does this then composer probably isn't for you. Or you can use composer to just get a normal install with he Option C from the drupal.org site you mentioned – Leigh Jun 4 '18 at 8:18
  • 2
    From what I have read, I just need to change the web directory in Cpanel to point to public_html/drupal-project/web? – user3086053 Jun 4 '18 at 8:19
  • Yeah that's all that needs to be done – Leigh Jun 4 '18 at 8:59
  • If your vendor folder is in the public_html folder, which is surely publicly accessible, you've kinda missed the point of using drupal-project – Clive Jun 4 '18 at 10:02
  • 1
    @Clive: it is pointing to the 'web' folder, NOT to public_html. I did not write it down correctly in my solution. I will correct it. – user3086053 Jun 5 '18 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.