• [Solved] Unwanted redirection to doc 1 if page protected#

  • Jul Reply #1, 1 year, 5 months ago

    Reply
    Having a document that belongs to a web group with protected access, I observed that visitors are redirected to document with if they try to access the protected document when they are not logged in.
    This occurs despite the MODx root as set in the configuration is not document #1.

    The concerned page is a WebLoginPE "profile" page and I want it accessible only when the user is logged in. This works. The problem is when the user is not logged, and he tries to access again the profile page. The problem is not caused by WebLoginPE. If I remove the snippet call, the problem remains.

    The redirection would not be a problem in fact as long as one can choose the destination document.
    And document #1 is not suitable in my case.

    Did I miss something?


  • netProphET - MODX Complete Team Reply #2, 1 year, 5 months ago

    Reply
    Have you set the "Unauthorized page" setting in System Configation?


  • Jul Reply #3, 1 year, 5 months ago

    Reply

    Oh, it was so easy! Works perfectly.

    Thanks a lot.