Links to blades do not work and get message "file not found" when deployed to nginx server.
Here is my situation, only my welcome/index page only loads and displays fine when deployed onto the server then my links to the other blades produces a "page not found" error message in the browser even though I know the blade files are there in my views file located on the server.
When I was in development utilizing Valet everything worked fine, all the links to my other blades/pages work fine until deployed to my server.
I have tried to use the commands recommended in Laravel docs php artisan view:clear and then view:cache to clear out my previous cache and then cache my new blade views but still does not link to the other blades. I thought it was a permission thing and tried to change permissions and that does not resolve the issue either. I am out of options not sure why the server is not locating my other blades. I also ensured I generated an app key.
Actually a LEMP. This is for my company website and I had it just as a single page site. Recently, this past week, I've expanded my services and attempted to add a page for each service.
I went through these videos and the thing is I did not see Jeffery explain how to write the html attribute for your link appropriately, or at least maybe I didn't notice it if he did, gonna go back through now that I know the the culprit. I was using PhpStorm and it hints at blades that it knows exists so my lazy butt clicked that and didn't think anything twice thinking it was the correct way to write the attribute for my link. that was my mistake.
Don't get me wrong these tutorials offer a lot of useful information but sometimes I notice little quirks can slip through the cracks and you can be left without a solution even after viewing some of these tutorials.