O
O
oe24y2019-01-07 12:43:42
MODX
oe24y, 2019-01-07 12:43:42

How to make a sitemap.xml in Modx, filtering unnecessary pages using PHP?

Automate the creation of the sitemap.xml file, but at the same time manually filtering (using PHP) previously known urls.
Thank you all in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2019-01-11
@BiOpSIhoS

Select the required IDs with your snippet (add a - sign before each ID),
Substitute this list in the &resources parameter in pdoSitemap

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question