Direct URL links to protected pages

Permalink
Hi- first post so please forgive me if I have put this in the wrong place, or failed to find an existing solution (in ~30 minutes of searching...)
Anyway, I have a site for a local cub scout pack where 90% of the pages are protected for registered users only. We want to be able to email links to specific pages to parents (say for an upcomming event). Since these pages are typically password protected they are asked to login after clicking the link. After they login correctly they are dropped to the home page for the website, rather than continuing on to their desired destination. Is there any way to fix this? I'm guessing it should be possible to send the desired url to the redirect call, but I really dont have enough PHP experience to figure out how. Thanks for any help!

ptheis
 
jbx replied on at Permalink Reply
jbx
http://www.concrete5.org/index.php?cID=12325

It's quite a simple fix, but does involve editing at least one core file. Don't worry about that tho, because it sounds like it's going to be in the next release. (Might even be in the latest release already...)

Scroll right to the bottom of the thread for the instructions - post back here if you have any problems implementing it.

Basically what it does: If you try to visit /my_restricted_page and you get asked to login, then after logging in, you will be forwarded to that page instead of the dashboard or home page.

Hope that helps...

jon
ptheis replied on at Permalink Reply
ptheis
Thank you, thank you, thank you!
That fixed it. I just could not find the solution by searching myself. I guess I wasnt using the right terms. Much appreciated-