Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anzalna Nazar 6 posts 80 karma points
    28 days ago
    Anzalna Nazar
    0

    Page protection issue in Umbraco 13

    Hello everyone,

    I have recently created a project in Umbraco 13 and added some pages. I have also set the "Restrict Public Access" option with the Login and Error pages. enter image description here

    However, when I try to load the page, it gets redirected to the same page where the content gets replaced by the Login page content.

    enter image description here

    To solve this, I need to add the redirect URL.

    Also, the 301 redirection is not working.

    Can anyone help me with this issue?

    Thank you.

  • Huw Reddick 1746 posts 6111 karma points MVP c-trib
    28 days ago
    Huw Reddick
    0

    when I try to load the page, it gets redirected to the same page where the content gets replaced by the Login page content.

    That is correct, what are you trying to say is wrong exactly?

  • Anzalna Nazar 6 posts 80 karma points
    25 days ago
    Anzalna Nazar
    0

    I have added redirection to the login page. So it should redirect to the login page.

    But here, when added redirection, the test page's inner content was replaced by the login page content. The URL is still the test page's URL.

    Like URL is of test page and its content is from login page

  • Huw Reddick 1746 posts 6111 karma points MVP c-trib
    25 days ago
    Huw Reddick
    0

    It's the default Umbraco behaviour.

  • Anzalna Nazar 6 posts 80 karma points
    24 days ago
    Anzalna Nazar
    0

    Thanks!

    I have done it in versions 10 and 12, and it's working fine. (The page gets redirected to the login page). I found the above issue in version 13.

  • Huw Reddick 1746 posts 6111 karma points MVP c-trib
    24 days ago
    Huw Reddick
    0

    Are you certain you didn't do something different?

    I just fired up an old v10 site and the behaviour is exactly the same as you describe here. If I access a restricted page when not logged in I am redirected to the login page but the URL does not change.

Please Sign in or register to post replies

Write your reply to:

Draft