I have a multisite (sub directory style), and am wondering if i can delete the default site (sites/default)? I just want to get a 404 if the site doesn't exist, no fallback.

1 Answer 1


You can leave the default directory in place. Just make sure there is no settings.php file in the default directory, and only the sites/www.yoursite.com directories will be accessed.

When you upgrade core, the default directory will always be replaced and will receive a new copy of default.settings.php, so it makes no sense to delete it.

  • 3
    that works, but now when i go there i get the install page, how can i avoid this then?
    – petergus
    Commented Apr 26, 2013 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.