#got error "404 | Not found" for ReactJs and Laravel app in cpanel
5 messages · Page 1 of 1 (latest)
Are you sure that the cpanel redirects to the public folder?
I have successfully confirmed the request flows through React’s .htaccess → Laravel’s .htaccess → public/index.php.
.htaccess configuration in both the demo/ folder (React) and demo/production/ folder (Laravel) is set up correctly.
First of all, you shouldn't set up a Laravel project using htaccess. All you need to do is point the document_root to the public folder of your app, nothing more.
I am using cpanel