在laravel上部署我的项目后,我收到了一个错误
问题描述:
After I deployed my laravel project on the domain and only the homepage is working. And the rest when i click, they gave this error:
- That’s an error. The requested URL was not found on this server.
Can someone afford my question please? Thanks in Advance
在域上部署laravel项目后,只有主页正在运行。 其余的当我点击时,他们给出了这个错误: p>
- 这是一个错误。
在此服务器上找不到请求的URL。 li>
ol>
请问有人能提出我的问题吗? 谢谢提前 p> div>
答
Check your .htaccess file in your public folder.
答
First check / set up your routes file.
Look at the file routes/web.php
in your application directory and you will see the list of URLs your app will respond to.
If something isn't in that list your app will give a 404.
Also do php artisan route:list
to see the same information in another form. That is the definitive list of routes the app will respond to.