Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By freelylw on
I have set the Default 403 (access denied) page: to www.mysite.com/user/register
It works before. but I don't know when it suddenly doesn't work now, its showing a 'This web page has a redirect loop.' browser's page there now.
What should I do to resolve this ? thanks
Comments
Forget to tell. I have a
Forget to tell. I have a content type which can be post only by authenticated user. Now,when anonymous user click to post the node. I get this 'redirect loop' message.
Also everything allowed by authenticated user, if click by anonymous user, will get this message as well. example: I have the invite module installed. allowed by authenticated user only. but if any anonymous user click the link www.mysite.com/invite. he will get the message . and the page never redirect to the 'Default 403 (access denied) page'
WHAT should I do now please if you know a bit of this .
Thanks
This might help
I was having a bit of a hard time understanding the exact results that you were experiencing, but this might help. For me, it was important to realize that the "user/register" page reacts differently based on whether the user is anonymous or authenticated.
What's Probably Happening
Anonymous Users
Authenticated Users
In my case, I created a php node with the following code.
Possible Solution
Hope that helps. It did when I was experiencing a similar problem.
Thamks!
Thanks cwebster!
I was hitting the same problem, and your description matched perfectly.
Michael