Laravel - Public

Status
Not open for further replies.

dorky106

New Member
Messages
3
Reaction score
0
Points
1
How do I get rid of /public/ when using Laravel?
I know how to do it locally, but I can't figure out how to do it here.
As I can't find how to change the root directory.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

If your Laravel installation belongs in public_html, you should be able to rewrite all requests to public/ by creating a .htaccess file to do this, using cPanel File Manager.

Thank you,
 
Status
Not open for further replies.
Top