Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
5.6k views
in Q2A Core by
I'm using the Q2A user management throughout my entire website (outside of Q2A).

When I use login.php?to= and logout.php?to=

They always go to the root of the Q2A installation (httpdocs/Q2A/...)

Would it require a core hack to be able to do a direct url (eg):

login.pgp?to=http://www.mydomain.co.uk/testpage.php

...or a relative url that when using a /, would go to the proper root of the website and not Q2A?

1 Answer

0 votes
by

You should be able to use one or more ../ prefixes on the to= parameter to have the redirect go to higher-up directories in your site.

...