I
I
issssrt2015-12-29 10:34:12
PHP
issssrt, 2015-12-29 10:34:12

Moving modx to a subdirectory?

You need to transfer modx from the local computer to the hosting, but not to the root, but to a subdirectory. I transferred it according to the standard, the site started up, but the pictures are not displayed either on the site or in the admin panel. probyval in the config address of the folder all the same.
Has anyone experienced this?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
Heafy, 2015-12-29
@Heafy

Try in the modx settings to find something "Path to files:" (in my revolution of the first versions it is in the tabs "Configuration -> Interface and presentation") and add your subdirectory to that path.
For example, it was:
/home/www/site.ru/assets/
and it became:
/home/www/site.ru/ folder/ assets

V
Villarou, 2015-12-29
@VirmarY

Are you sure that the configs have been corrected as they should? Look at this answer (it's true that they transfer from a subfolder to the root, but it doesn't really matter) or the PS documentation
Specify the MODx version (Revo or Evo) in the future. And it's hard to guess.

K
keslo, 2015-12-29
@keslo

Check base_url also.

S
Sanes, 2015-12-29
@Sanes

add /setup/ and update

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question