S
S
Scryppi2018-07-30 13:47:23
Laravel
Scryppi, 2018-07-30 13:47:23

Why is storage laravel link not working?

Moved from open server to hosting site. Storage link stopped working. Gives errors in the console

GET http://project/storage/images/5b5c3f209e0b0.png 404 (Not Found
). Although if you just drive http://project/storage/images/in and go through the index of directory and select the same picture, everything works fine. And if you click "open link in new tab" on the error "
GET http://project/storage/images/5b5c3f209e0b0.png 404 (Not Found)
" will give the error "Sorry, the page you are looking for could not be found.". laravel version 5.5.40

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kairat Ubukulov, 2018-08-15
@ubukulov

try linking like this. base_path()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question