i’m creating an app with a login system, and also create a profile page, it works fine on the local server but in cpanel the profile page can’t be accessed and always forcefully redirect to the homepage, django doesn’t raise an error and i don’t see something wrong with the urlpatterns, any idea why is this happen?
Are there any other pages affected by this? Or is this the only one? (Is this the only page protected by a login?)
There are a number of different things that could be happening here:
- User isn’t logged in
- Sessions aren’t being managed correctly
- Session data not stored such that it’s shared between processes
- Session cookie isn’t being managed correctly
- Something in that view that is causing the redirect
- Some other misconfiguration