I'm creating a site that works now at www.mysite.com/public/

I would love to get to drop the /public off the url so it is:


Does anyone know how to do this?

Thank you!


This is not so much a Craft question as a web server question.

The directory structure of Craft is intended for the web server to have the public (or web in Craft 3) directory configured as the document root.

This is a configuration setting you’ll find in your Apache, Nginx or other web server documentation.

  • Thank you Jeremy, I just had to move my files. Thanks for your help. – Mike Jan 20 '18 at 16:46

Your Answer

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

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