amiega
amiega

Reputation: 27

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. And the rest when i click, they gave this error:

  1. That’s an error. The requested URL was not found on this server.

Can someone afford my question please? Thanks in Advance

Upvotes: 0

Views: 64

Answers (2)

krishna
krishna

Reputation: 98

Check your .htaccess file in your public folder.

Upvotes: 1

mwal
mwal

Reputation: 3113

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.

Upvotes: 0

Related Questions