P
P
Peremir22017-02-27 12:51:45
CMS
Peremir2, 2017-02-27 12:51:45

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

4 answer(s)
Z
zooks, 2017-02-27
@zooks

Specify <base href="/">,
then you do not have to correct the domain every time.

K
Kirill Arutyunov, 2017-02-27
@arutyunov

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.

A
Anton, 2017-02-27
@Ooos

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

S
Sanes, 2017-02-27
@Sanes

Nothing is attached there.
But if there are problems, for example, they changed the http protocol to https in the system settings, but http://askmeplz.com/ does not respond to this. That is easier to register the domain for a context or in a sist. settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question