Is there a way to create a page that requires the user to log in and then shows them all their orders, but only the orders of the logged in user. I need it to the same URL for all users as an external source, that knows noting about the user accounts, will be directing them to it. Currently I see urls like this

but I want a url like this

And since I've already customised the view of the Orders screen I'd really like to re-use that view, just place it on a generic url. If a non-logged in user tries to go to they get told the page doesn't exist rather than told to log in.

1 Answer 1


If you have appropriate access control on your custom View, then use something like the Redirect 403 to User Login module so customers are returned to your /orders URL after logging in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.