Answer the question
In order to leave comments, you need to log in
Why do links to files with a trailing slash result in a 404?
Is it some kind of feature of the server that links to files with a slash at the end (site.ru/file.pdf/) lead to a 404 error? At what level does a 404 redirect happen?
Answer the question
In order to leave comments, you need to log in
Because site.ru/file.pdf is a file access. And site.ru/file.pdf/ - accessing the directory inside the file (this cannot be, but the point is)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question