P
P
Pavel2019-03-23 06:01:54
MODX
Pavel, 2019-03-23 06:01:54

Images are not displayed on the site, and if you open them directly, everything is fine, how to fix it?

There is a site on MODX Evo 1.2.1, everything works on it. The customer needed to change the domain name.
On the same hosting, I created a new domain, copied all the files with the same rights and created a copy of the database.
Changed the name of the domain in the files and the database, changed the name of the database in the configuration. The .htaccess file does not mention the old domain. The old domain is also not found in the database search.

The site is up and running. Scripts, styles, fonts are loaded. All images are not loading. An error 403 is issued
. Moreover, with a direct request, the image is correctly displayed with a response of 200.

I don’t even know where to dig, maybe on the hosting, maybe in the engine settings, maybe on the registrar.

Who faced this, can you tell me?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel, 2019-03-23
@parsek

Thanks everyone.
The issue was resolved only after contacting the support service.
What they did they do not want to answer.

A
Anatoly, 2019-03-23
@Tolly

Ctrl+U see what is displayed there, maybe the path is not correct.

S
SubGANs, 2019-03-23
@SubGANs

Clean the cache, but in general, look at the access logs of the web server, there will most likely be infa why 403

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question