S
S
sadieff2018-11-21 09:37:24
MODX
sadieff, 2018-11-21 09:37:24

How to find the source of 404 pages in MODX?

Good day! Such a problem: we have a strange glitch on 2 MODX projects. Yandex bot catches a bunch of links to 404 pages. there are links of the form /blog/article/services/page/
separately for the /blog/article/ and /services/page/ pages. But there are no such references on either one. Also, there is no link to /services/page/ on the /blog/article/ page and vice versa. The sitemap is clean. The links are all relative, without the slash at the beginning of blog/article/services/page/, but it is spelled out . In which direction to dig?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2018-11-21
@ruslan_aleev

Hello, also check if the head tag is registered <base href="http://askmeplz.com/">, without it links can be generated relative to the current page, i.e. if there is a link from the page /blog/article/ to the page /services/page/, then the link may look like /blog/article/services/page/

S
Sergey, 2018-11-21
@begemot_sun

> there is no link to /services/page/
did you search with a leading slash ? or without slash?
You most likely have this address without a slash somewhere, either in a template (chunk), or MODx generates it for you this way.
Use the html search.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question