Answer the question
In order to leave comments, you need to log in
How to block access to a resource by URL in Modx Revo?
On the site on the main page, through PDOResurses, the contents of nested resources are displayed. The site also has a CNC set up. The problem is that resources are available separately also by URL.
How to close access so that a 404 error is generated when trying to open a page by URL, that is, so that the resource is available only through PDOResurses?
So far, the only option that comes to mind is to unpublish all resources and use the &showUnpublished=`0` parameter - Show unpublished resources, but in my opinion this is a crutch, because. I would like to keep the functionality of this option.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question