Answer the question
In order to leave comments, you need to log in
Why does the upload folder look at a different domain in bitrix?
Hello everybody!
Let me explain the essence of the problem:
1. There is a site on bitrix. The main domain www.domen.ru
2. I made a backup, deployed it on my hosting to redesign the site www.domen.mydomen.ru
3. I registered all the paths in the settings of the main module and in the site settings in the admin panel.
4. Everything works great.
Problem: When uploading new images, all addresses before them go to the upload folder on the main domain www.domen.ru.
Question: Where to look for the cause?
Answer the question
In order to leave comments, you need to log in
I would try:
If it doesn't help, look in the component's code. If it is not boxed, perhaps the previous developer hardcoded something from himself.
Plus, look at buffering event handlers, perhaps there will be page parsing for links in Upload and domain substitution before such links with hardcode.
Well, in the most extreme case, another option is to see what is there with the cdn settings. Perhaps it was activated on the site and after the transfer it somehow interferes, but in theory, after clearing the cache and changing the domain in the settings, this should definitely not happen.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question