[英]After I deployed my project on laravel, I got an error
After I deployed my laravel project on the domain and only the homepage is working. 在域上部署laravel项目之后,只有主页可以正常工作。 And the rest when i click, they gave this error:
而其余的当我单击时,他们给出了此错误:
Can someone afford my question please? 有人可以负担我的问题吗? Thanks in Advance
提前致谢
检查公用文件夹中的.htaccess文件。
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. 查看应用程序目录中的文件
routes/web.php
,您将看到应用程序将响应的URL列表。
If something isn't in that list your app will give a 404. 如果该列表中未包含某些内容,则您的应用会给出404。
Also do php artisan route:list
to see the same information in another form. 也可以使用
php artisan route:list
以另一种形式查看相同的信息。 That is the definitive list of routes the app will respond to. 这是应用程序将响应的最终路由列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.