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.
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.
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.
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.
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.
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.
That is correct, what are you trying to say is wrong exactly?
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
It's the default Umbraco behaviour.
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.
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.
Have you found any solution for this ?
is working on a reply...