We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2812
    • 2 Posts
    I’m new to MODx so excuse me if this is a stupid question smiley

    All the pages created in MODx have 2 possible states: published and unpublished.
    As I understand it "published" page is one visible in menus and accessible for web users. "Unpublished" page is opposite - it doesn’t appear in menus and it shouldn’t be accessible by users.

    But as I see even unpublished pages are accessible via URL.

    For example if I have a page (id= 6, alias=contact) that is unpublished I still can access it simply writing URL in a browser ( index.php?id=6 or contact.html with friendly URLs on).

    Is this a bug or a feature. And if it is a feature is there any way to switch it off so unpublished pages are not visible?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Log out of the Manager and try it again wink

      There is an option in the Roles configuration to prevent a manager user with that role from seeing unpublished pages, but the "administrator" role’s users can always do so.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 2812
        • 2 Posts
        That was quick.

        Thanks a lot smiley