'Assets retrieving issue in Laravel 5.4
Issue: Assets retrieving issue in Laravel 5.4
Server root directory
-- public_html/
-- pilardir/ [Laravel Installed Here Project Controller, Models, Views Working from this directory]
Domain setup
www.thepiresearch.com Domain pointing directory (public_html/)
The problem here is the laravel application setup in the [pilardir] directory so when we setting up any assets file or upload blog images from the app then its uploading here pilardir/public/uploads/blogs which is all correct.
Now the problem is when we fetching the assets files / images it return the path and assets url from
public_html/public/uploads/blogs
which is incorrect.
Solution 1:[1]
please try this : www.thepiresearch.com/uploads/blogs
remove public and public_html of public_html/public/uploads/blogs
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | behnam hoseyni |
