Tags/topics: 
3
Answers
Vote up!
0
Vote down!

Download redirect on 404

I have a commerce site that sells digital downloads. When a non-logged in user tries to access their licensed files (example.com/user/123/licensed-files) they get a 404. It would be a lot nicer to redirect them to the login page and then forward them back. Is this possible?

Asked by: sher1
on March 20, 2013

3 Answers

Vote up!
0
Vote down!

I have actually looked into these and they don't really address the problem. I am using the r4032login module for access denied pages but for some reason the licensed file page doesn't result in a 403 but a 404.

Answer by: sher1
Posted: Mar 20, 2013
Vote up!
0
Vote down!

The login redirect module would never come into play. If they were sent to a login page instead of a 404 page, that would be the desired behavior.

Answer by: sher1
Posted: Apr 4, 2013