I have a wordpress website in which I want to use a Laravel app in a subfolder
Like this:
- https://website.com/* -> wordpress
- https://website.com/app/ -> laravel
But I only managed to run it like this:
- https://website.com/* -> wordpress
- https://website.com/app/ -> http 404
- https://website.com/app/public/ -> laravel
Whatever I do, I keep receiving http 404 when trying to access any of my views except when trying on the public folder.
What can I do to make laravel start routing from the root laravell app (/app, like normally is when it's only laravel) and not from the /app/public folder?
I have tried changing RewriteBase but it didn't worked.
Better to do this using a subdomain, but anyway
Now go to the public_html folder and then enter the Laravel folder and open the index.php file and apply the following changes and save the file:
Update the
.envfile according to the database information and then open the address of your Laravel program