Forums / Developer / redirect login form problem / Comment40642
James Packham
Tuesday 25 May 2004 9:20:10 am
I get the same problem with redirects of any kind. Maybe we can help each other - My system is ezp 3.3-3 using siteaccess method. The reason why it doesn't work is because you end up with:
http://www.example.com/siteaccess/siteaccess/node2
or some such thing, which is of course nonsense as far as EZ is concerned. I think it looks like a bug in the code, but I don't know. I have a fix, but it isn't very good. In your template:
<input type="hidden" name="RedirectURI" value={"content/view/full/2"|ezurl} />
becomes
<input type="hidden" name="RedirectURI" value="content/view/full/2" />
This works because content/view/full/2 gets written to the end of whatever your URL + siteaccess is in siteaccess mode.
Did you find a better way to solve the problem? I noticed you posted this a few days ago now. I think a kernel hack would be better because so many of my templates have a redirect. My next step is to try and see if this was fixed in a newer version of EZ, so hopefully I won't need to do that!
Regards,
James