DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
TRUNG VU
TRUNG VU

Posted on

Storage link already exists but getting 404 error when trying to get a file from the public folder

Storage link already exists in your Laravel project but you are getting 404 error when trying to get a file from the public folder.

Go to your project's public folder, and delete the storage folder, if it exists. Then run this command line:

php artisan storage:link
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.