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
    Apr 05, 2024 @ 09:30
    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 1788 posts 6198 karma points MVP c-trib
    Apr 05, 2024 @ 12:34
    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
    Apr 08, 2024 @ 06:53
    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 1788 posts 6198 karma points MVP c-trib
    Apr 08, 2024 @ 10:18
    Huw Reddick
    0

    It's the default Umbraco behaviour.

  • Anzalna Nazar 6 posts 80 karma points
    Apr 09, 2024 @ 04:30
    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 1788 posts 6198 karma points MVP c-trib
    Apr 09, 2024 @ 05:59
    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