adam_carraway2019-03-05 21:13:04
Apache HTTP Server
adam_carraway, 2019-03-05 21:13:04

404 Not Found after laravel port, what's the problem?

Transferred the project from local to hosting, as a result, it goes to the main page, and on all the others there is such an error:
What can be connected with?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Anatoly, 2019-03-05

htaccess check

SibWebDevelopers, 2020-04-29

I faced the same problem, in my case the following helped:
I replaced "RewriteRule ^ index.php [L]" with "RewriteRule ^ /public/index.php [L]"
# Send Requests To Front Controller...
RewriteCond % {REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /public/index.php [L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question