Answer the question
In order to leave comments, you need to log in
Why doesn't the /login route work?
Hello. Maybe someone came across: After transferring the project to the hosting, the whole site works fine, but /login, /register does not work, or rather throws a 404 error. I can’t even understand why. All other routes work. I sin on .htaccess, but I'm not sure.
I made this structure:
root----------------
-project directory
--applications
---здесь все файлы лары
--public_html
---здесь все файлы паблика
---.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase //
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question