Laravel | Shared hosting routes not working properly

后端 未结 5 963
北海茫月
北海茫月 2020-12-04 03:16

I am trying to deploy my Laravel project on a shared host(godaddy) and so far I have only partially succeeded.

Steps I followed:

  • Creat
5条回答
  •  醉话见心
    2020-12-04 03:31

    You need to change the document root for you website to be the public folder of your application i.e.

    public_html/finance/.
    

    should be:

    public_html/finance/public
    

    https://laravel.com/docs/5.4/installation#configuration

    Hope this helps!

提交回复
热议问题