J
J
Johannes Kepler2016-09-19 15:40:57
Apache HTTP Server
Johannes Kepler, 2016-09-19 15:40:57

How to redirect images?

Hello everyone, please tell me how you can set up the correct redirect, something doesn’t work for me
1. so we switched to https, and so, the photo is available both via http and https, all links are automatically redirected to https there is an extension (.jpg, .png, etc.) that does not redirect
2. we also had pictures on img.domain.com before, but now we want to redirect to https://social.domain.com/img , using the img.domain link. com/photos/filename.jpg redirect doesn't work, but when you delete .Jpg (img.domain.com/photos/filename) it normally redirects to fb.domain.com/img/photos/filename
please help me figure it out

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2016-09-21
@shambler81

/bitrix/admin/site_checker.php?lang=ru what does it
say?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question