QuestionQ63

VerifiedCloud Setup/Config

Which Magento project directory is the recommended webroot for a web server?

Explanation

Magento should be served from the pub/ directory. It contains the public entry point and assets, while using it as the webroot prevents browser access to sensitive application directories outside pub/.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!