1

This question already has an answer here:

So by default the index.php is in the public directory. I want to rewrite the url so that abc.com/public/ becomes abc.com/ ??

I am very new to url rewriting ..

marked as duplicate by John Conde Apr 28 '15 at 11:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

Laravel is designed to protect your application code.

All the files except public folder should not have public access.So You should upload all other files just before public folder in your server.

Still if you really want to change it: You can override the public folder using IOC container, Ex:

App::bind('path.public', function() {
    return base_path().'/public_html';
});

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