Broken Image & Logo in Bagisto with causes and solutions?
rahul last edited by rahul
Causes of broken image & logo.
- You have not run 'php artisan storage:link' command at root of project.
- Given wrong APP_URL in .env file.
- Renamed root of project after running 'php artisan storage:link' command.
Run 'php artisan storage:link' command at root of project.
Give right APP_URL in .env file
Your APP_URL should be up to public ( APP_URL=http://localhost/bagisto/public )
If you are running your project using 'php artisan serve' then it will '127.0.0.1:8000' or 'localhost:8000'.
Remove existing symlink.
From the project's root directory
cd public unlink storage
From the project's root directory run the following command:
php artisan storage:link
Please follow the same sequence.