Answer the question
In order to leave comments, you need to log in
Why is modx bound to an address?
Satisfy the curiosity of modixavoda. I'm moving the site from production to local, and I have to change the domain. I like the system itself, but every time I have to spend time changing the address during the transfer. Why is the address so tightly bound in modx?
Answer the question
In order to leave comments, you need to log in
Specify <base href="/">
,
then you do not have to correct the domain every time.
Have you cleared the cache?
When transferring, you only need to change the paths to the files. The address never changed during the transfer. But if the cache is not cleared, then the links remain on the old domain.
The cache is in core/cache.
I didn’t understand the essence of the question, if the paths in the files are rewritten, then alas, no way, although we use a script to correct the paths in the files.
If about base href, then use then you don’t need to edit the address
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question