Redirect after login
We often will hand team members urls to our servers or applications in cloudways, eg: https://platform.cloudways.com/server/999999/access_detail
If they're not logged in (which is likely due to the short logout-timeout), they have to log in, which brings them to the main page for the account, rather than redirecting to the url they originally went to...
The workflow should be like other sites, eg:
- go to https://platform.cloudways.com/server/99999/accessdetail
- site redirects you to the login panel
- after successfully logging in, it redirects you back to https://platform.cloudways.com/server/9999/accessdetail