If the folder is inside your "public" folder - you don't need a route, it will be accessible directly.
Yes, but how do I create a route for this? To open the folder that is in the public / example, for example
Thank U
I don't quite understand your question, as I said - to access a folder that is in your public folder, you don't need to create a route. When someone access your Laravel powered site, it checks the URL against what is in the public folder first, if it finds a match it serves it, if it doesn't - it then goes through the routes.php file to try and find a match.
If your folder is called example, it should be accessible at www.yourdomain.com/example without the need for a route (you may need to tweak .htaccess to give access to a directory listing).
Thanks, I am understanding your explanation. I am a new user in framework Laravel, and sometimes my questions is a little weird :)
Thanks,
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community