Answer the question
In order to leave comments, you need to log in
Why does the site redirect images to a slash at the end of the URL?
When transferring the site to a test server, we noticed such a problem, the site stopped loading pictures, while there are a lot of 404 errors in the console, and in the paths to the pictures there is / at the end of the address. If you open an image in the browser, it will also be surrounded by a slash at the end of the address.
The server is running nginx and php-fpm as well as the Bitrix web environment. Where can there be a similar setting responsible for redirects? Yes, and some of the pictures are loaded normally.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question